[issue20204] pydocs fails for some C implemented classes

Serhiy Storchaka report at bugs.python.org
Tue Nov 25 18:43:34 CET 2014


Serhiy Storchaka added the comment:

The problem not in pydoc or inspect itself. In Python 3.3 _tkinter.TkappType has the __module__ attribute:

>>> import _tkinter
>>> _tkinter.TkappType.__module__
'builtins'

Something was changed in 3.4 and builtin classes without dot in qualified name no longer have the __module__ attribute.

----------

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


More information about the Python-bugs-list mailing list