Yury Selivanov added the comment:

Larry, I think you can use undocumented and private (but still heavily tested) 
'inspect._signature_internal(skip_bound_arg=False)', instead of signature.  
That will give you a Signature object with 'self' parameter always included.

And in 3.5 we'll probably make this option (renamed, hopefully), public, and 
switch pydoc to use new API again.

What do you think?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20710>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to