From: Guido van Rossum Date: Fri, 7 Dec 2001 21:54:33 +0000 (+0000) Subject: PyMethodObject(): Update the comment about im_class based upon a X-Git-Tag: v2.2.1c1~473 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=301d0f89bb81950230f401aae7df160ffa20b91a;p=thirdparty%2FPython%2Fcpython.git PyMethodObject(): Update the comment about im_class based upon a conversation with Robin Dunn in SF patch #490402. --- diff --git a/Include/classobject.h b/Include/classobject.h index 3b25c7447d63..c79f4a22ec31 100644 --- a/Include/classobject.h +++ b/Include/classobject.h @@ -31,7 +31,7 @@ typedef struct { PyObject_HEAD PyObject *im_func; /* The callable object implementing the method */ PyObject *im_self; /* The instance it is bound to, or NULL */ - PyObject *im_class; /* The class that defined the method */ + PyObject *im_class; /* The class that asked for the method */ PyObject *im_weakreflist; /* List of weak references */ } PyMethodObject;