Terry J. Reedy <tjre...@udel.edu> added the comment: "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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12672> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com