[docs] [issue11776] types.MethodType() params and usage is not documented
Terry J. Reedy
report at bugs.python.org
Sat Apr 9 03:00:03 CEST 2011
Terry J. Reedy <tjreedy at udel.edu> added the comment:
Messages that only consist of links are classified that way. To refer to other issues, use #xxxxx, as with #6040, but I have no idea which of the many messages you were referring to, so use msgxxxxxx.
The stack overflow link
http://stackoverflow.com/questions/972/adding-a-method-to-an-existing-object
which should be allowed given surrounding text, answers my question:
types.MethodType can be used as a replacement for 2.x new.instancemethod.
The question is where that should be mentioned. The types doc still seems like the wrong place. Perhaps somewhere in the language ref section on classes, if that is where bound methods are discussed.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11776>
_______________________________________
More information about the docs
mailing list