commit | cd9a8b6bcfe7a58abaf6097f12012342655e7baa | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Tue Jan 21 21:52:57 2003 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Tue Jan 21 21:52:57 2003 +0000 |
tree | 4d4625785f1690dfdcdbefc3e352a06de784f757 | |
parent | 2a1d51602b98effa0feddc2427ba5d8cd0641b77 [diff] |
Avoid usage of PyDoc_STR in 2.2 compatibility code.
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 @@ /* 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