Update of /cvsroot/pywin32/pywin32/win32/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7853/win32/src
Modified Files:
PyHANDLE.cpp
Log Message:
Change PyHANDLE's tp_repr to return the same as its tp_str
Index: PyHANDLE.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/src/PyHANDLE.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** PyHANDLE.cpp 5 Sep 2004 15:43:17 -0000 1.9
--- PyHANDLE.cpp 1 Jun 2005 07:41:57 -0000 1.10
***************
*** 142,146 ****
// @pymeth __cmp__|Used when HANDLE objects are compared.
PyHANDLE::compareFunc, /* tp_compare */
! 0, /* tp_repr */
&PyHANDLE_NumberMethods, /* tp_as_number */
0, /* tp_as_sequence */
--- 142,146 ----
// @pymeth __cmp__|Used when HANDLE objects are compared.
PyHANDLE::compareFunc, /* tp_compare */
! PyHANDLE::strFunc, /* tp_repr */
&PyHANDLE_NumberMethods, /* tp_as_number */
0, /* tp_as_sequence */
|