summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-01-21 21:52:57 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-01-21 21:52:57 (GMT)
commitcd9a8b6bcfe7a58abaf6097f12012342655e7baa (patch)
tree4d4625785f1690dfdcdbefc3e352a06de784f757
parent2a1d51602b98effa0feddc2427ba5d8cd0641b77 (diff)
downloadcpython-cd9a8b6bcfe7a58abaf6097f12012342655e7baa.zip
cpython-cd9a8b6bcfe7a58abaf6097f12012342655e7baa.tar.gz
cpython-cd9a8b6bcfe7a58abaf6097f12012342655e7baa.tar.bz2
Avoid usage of PyDoc_STR in 2.2 compatibility code.
-rw-r--r--Modules/_tkinter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index 1bb2d82..8b9926e 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -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