[docs] [issue11776] types.MethodType() params and usage is not documented
Terry J. Reedy
report at bugs.python.org
Sat Apr 9 01:10:19 CEST 2011
Terry J. Reedy <tjreedy at udel.edu> added the comment:
All the types in the types module are, being types, potentially callable to produce instances of that type. But they are in types rather than builtins precisely because it is not expected that they be called directly. They are bound to names in types primarily for isinstance checks, and possibly issubclass checks. So none of their signatures are documented in types. It would be an anomaly to add something special for MethodType. So my first impulse is to close this. Do you have a source for your statement?
----------
nosy: +terry.reedy
type: behavior -> feature request
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11776>
_______________________________________
More information about the docs
mailing list