[issue13581] help() appears to be broken; doesn't display __doc__ for class type when called as help(type)

Amaury Forgeot d'Arc report at bugs.python.org
Sun Dec 11 20:21:59 CET 2011


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

It fails for the same reason as issue1785:

~/python/cpython3.2$ ./python -c "import inspect; inspect.classify_class_attrs(type)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/amauryfa/python/cpython3.2/Lib/inspect.py", line 321, in classify_class_attrs
    obj_via_getattr = getattr(cls, name)
AttributeError: __abstractmethods__

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list