[Python-checkins] python/dist/src/Modules _tkinter.c,1.146,1.147
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Tue, 21 Jan 2003 13:53:01 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv32016
Modified Files:
_tkinter.c
Log Message:
Avoid usage of PyDoc_STR in 2.2 compatibility code.
Index: _tkinter.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_tkinter.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -C2 -d -r1.146 -r1.147
*** _tkinter.c 6 Jan 2003 12:41:25 -0000 1.146
--- _tkinter.c 21 Jan 2003 21:52:57 -0000 1.147
***************
*** 40,44 ****
/* Allow using this code in Python 2.[12] */
#ifndef PyDoc_STRVAR
! #define PyDoc_STRVAR(name,str) static char name[] = PyDoc_STR(str)
#endif
--- 40,44 ----
/* Allow using this code in Python 2.[12] */
#ifndef PyDoc_STRVAR
! #define PyDoc_STRVAR(name,str) static char name[] = str
#endif