Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Methods are reported as Static Methods with Python 3 #48

Closed
achille-roussel opened this issue May 13, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@achille-roussel
Copy link

commented May 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.ismethod and inspect.isfunction have 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.

@nawab36085

This comment has been minimized.

Copy link

commented Jan 30, 2017

Hi,
Did you get it fixed. I have observed the same issue while generating the document with python3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.