[Python-checkins] CVS: python/dist/src/Include classobject.h,2.39,2.40

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 07 Dec 2001 13:54:35 -0800


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv12915

Modified Files:
	classobject.h 
Log Message:
PyMethodObject(): Update the comment about im_class based upon a
conversation with Robin Dunn in SF patch #490402.


Index: classobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/classobject.h,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -d -r2.39 -r2.40
*** classobject.h	2001/09/05 22:52:16	2.39
--- classobject.h	2001/12/07 21:54:33	2.40
***************
*** 32,36 ****
      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_weakreflist; /* List of weak references */
  } PyMethodObject;
--- 32,36 ----
      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 asked for the method */
      PyObject *im_weakreflist; /* List of weak references */
  } PyMethodObject;