Avoid usage of PyDoc_STR in 2.2 compatibility code.
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 21 Jan 2003 21:52:57 +0000 (21:52 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 21 Jan 2003 21:52:57 +0000 (21:52 +0000)
Modules/_tkinter.c

index 1bb2d82a7cebd32e34e9bc9dc8296f63ef74bf1c..8b9926e0be48835adf95e0c6700e53f0daf07bac 100644 (file)
@@ -39,7 +39,7 @@ Copyright (C) 1994 Steen Lumholt.
 
 /* Allow using this code in Python 2.[12] */
 #ifndef PyDoc_STRVAR
-#define PyDoc_STRVAR(name,str) static char name[] = PyDoc_STR(str)
+#define PyDoc_STRVAR(name,str) static char name[] = str
 #endif
 
 #ifndef PyMODINIT_FUNC