[docs] [issue12672] Some problems in documentation extending/newtypes.html
Eli Bendersky
report at bugs.python.org
Tue Aug 16 07:46:07 CEST 2011
Eli Bendersky <eliben at gmail.com> added the comment:
"[].append is a Python-level method object that wraps a C function."
What makes you think that? There's no Python implementation of .append that I know of. Neither is there a Python implementation of the Noddy.name method that is discussed in the page. Both are implemented solely in C and exposed as methods for their respective classes via the tp_methods array.
"Or the sentence could be deleted."
This could be problematic, because the document does refer to "type methods" on several occasions, and it makes sense to define what it means.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12672>
_______________________________________
More information about the docs
mailing list