Update of /cvsroot/pywin32/pywin32/com/win32com/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13026/com/win32com/src
Modified Files:
PyIBase.cpp
Log Message:
consolidation of more py3k-friendly changes from py3k branch
Index: PyIBase.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/src/PyIBase.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** PyIBase.cpp 2 Nov 2003 09:55:27 -0000 1.7
--- PyIBase.cpp 4 Dec 2008 00:17:13 -0000 1.8
***************
*** 77,81 ****
TCHAR buf[80];
wsprintf(buf, _T("<%hs at %p>"),ob_type->tp_name, (PyObject *)this);
! return PyString_FromTCHAR(buf);
}
--- 77,81 ----
TCHAR buf[80];
wsprintf(buf, _T("<%hs at %p>"),ob_type->tp_name, (PyObject *)this);
! return PyWinCoreString_FromString(buf);
}
|