[issue20379] help(bound_builtin_class) does not display self

Larry Hastings report at bugs.python.org
Fri Jan 24 22:54:08 CET 2014


Larry Hastings added the comment:

Huh.  So inspect.getfullargspec is the code ignoring whether or not a function is bound.

Well, help(x) should be consistent, whether x is a bound builtin class instance or a bound Python class instance.  Right now it isn't; it displays the "self" for the Python one but not for the builtin one.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20379>
_______________________________________


More information about the Python-bugs-list mailing list