pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

Add parsing of nested classes

Open angeloskath opened this issue 5 years ago • 3 comments

Nested classes are incorrectly parsed as class variables. This commit fixes that and adds a method all_classes in Module that returns even the nested classes.

Thanks, Angelos

angeloskath avatar Mar 29 '20 01:03 angeloskath

Hi, thanks for considering this.

I can make the requested changes and add the test maybe from Monday. I am just sending so that you know I haven't just dropped this here and left :-).

Cheers, Angelos

angeloskath avatar Apr 18 '20 13:04 angeloskath

No hurry, but this would sure make a nice addition! :smiley:

kernc avatar Jun 01 '20 16:06 kernc

Pull request https://github.com/pdoc3/pdoc/pull/390 contains most of angeloskath's changes, but based on pdoc3, commit https://github.com/pdoc3/pdoc/commit/2cce30a9b55eeeddc1ed826c8a2ada53777c3eea (March 2022).

(deleted section about unit test problems, which were resolved after running tests on an os supporting symbolic links)

frank101010 avatar Mar 30 '22 09:03 frank101010