[pywin32-checkins] pywin32/win32/src win32gui.i,1.124,1.125
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-02-03 03:23:19
|
Update of /cvsroot/pywin32/pywin32/win32/src In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11302/win32/src Modified Files: win32gui.i Log Message: remove long obsolete Unicode() function from pythoncom and win32gui Index: win32gui.i =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/src/win32gui.i,v retrieving revision 1.124 retrieving revision 1.125 diff -C2 -d -r1.124 -r1.125 *** win32gui.i 30 Jan 2009 23:29:00 -0000 1.124 --- win32gui.i 3 Feb 2009 03:23:07 -0000 1.125 *************** *** 3375,3392 **** UINT remove); // @pyparm int|removalOptions|| - // DELETE ME! - %{ - static PyObject *Unicode(PyObject *self, PyObject *args) - { - char *text; - #if PY_VERSION_HEX > 0x2030300 - PyErr_Warn(PyExc_PendingDeprecationWarning, "win32gui.Unicode will die!"); - #endif - if (!PyArg_ParseTuple(args, "s", &text)) - return NULL; - return PyUnicodeObject_FromString(text); - } - %} - %native (Unicode) Unicode; %{ --- 3375,3378 ---- |