This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients docs@python, eli.bendersky, eric.araujo, eric.snow, python-dev, terry.reedy
Date 2011-08-16.04:44:18
SpamBayes Score 0.00020843396
Marked as misclassified No
Message-id <1313469859.3.0.657392022271.issue12672@psf.upfronthosting.co.za>
In-reply-to
Content
"the type object determines which (C) functions get called when, for instance, an attribute gets looked up on an object or it is multiplied by another object. These C functions are called “type methods”

"These C functions" are any of the C functions that are members of the type object. But they are C-level methods.

"to distinguish them from things like [].append (which we call “object methods”)."

[].append is a Python-level method object that wraps a C function.

My revised suggestion is "... in contrast to PyObject that contain C functions, such as list.append or [].append."

The only contrast that makes sense to me in this context is between directly callable C functions and Py_Objects (which have just been described) that contain a C function. I believe that author is addressing Python programmers who are used to 'method' referring to Python objects whereas the author wants to use 'method' to refer to C functions, which are not Python objects.

Or the sentence could be deleted.
History
Date User Action Args
2011-08-16 04:44:19terry.reedysetrecipients: + terry.reedy, eric.araujo, eli.bendersky, docs@python, python-dev, eric.snow
2011-08-16 04:44:19terry.reedysetmessageid: <1313469859.3.0.657392022271.issue12672@psf.upfronthosting.co.za>
2011-08-16 04:44:18terry.reedylinkissue12672 messages
2011-08-16 04:44:18terry.reedycreate