]> granicus.if.org Git - python/commitdiff
PyMethodObject(): Update the comment about im_class based upon a
authorGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 21:54:33 +0000 (21:54 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 21:54:33 +0000 (21:54 +0000)
conversation with Robin Dunn in SF patch #490402.

Include/classobject.h

index 3b25c7447d633565bf15c0a122f2f36f441f07a4..c79f4a22ec31b6f6115e488cd5dcf6a78fdfe332 100644 (file)
@@ -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;