[issue11151] Arguments to various types not specified in types module

Éric Araujo report at bugs.python.org
Tue Feb 8 23:52:34 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Remember that the types module is mostly obsolete now: a type like IntType is described as alias for the builtin int, with a link to the comprehensive document of said int.

(On an unrelated note, the types module may encourage type-checking, which is not common or generally useful in Python.  Too bad it couldn’t be removed wholesale in 3.x.)

That said, adding documentation for other cases like ModuleType and CodeType that aren’t defined anywhere else in the stdlib is indeed a good idea.

----------
nosy: +eric.araujo
versions: +Python 3.1, Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list