Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upMethods are reported as Static Methods with Python 3 #48
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
nawab36085
commented
Jan 30, 2017
|
Hi, |
mitsuhiko
referenced this issue
Sep 7, 2018
Closed
Was support for Python < 3.6 intentionally dropped? #164
mhils
closed this
in
c6e6b32
Sep 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
achille-roussel commentedMay 13, 2015
Hello,
First of all thanks a lot for pdoc which is a wonderful tool and a pleasure to work with.
I noticed that if I generate documentation with Python 3, simple methods are reported as static methods. I tried to play a bit with the source code to fix it but it didn't seem trivial (forcing method=True when creating Function objects).
It may be that the semantics of
inspect.ismethodandinspect.isfunctionhave changed between Python 2 and Python 3 and method in types are not reported as methods anymore because they haven't been bound yet.Is this a known issue?
I'll try to dig more into the code when I have some free time.