From: Martin v. Löwis Date: Tue, 21 Jan 2003 21:52:57 +0000 (+0000) Subject: Avoid usage of PyDoc_STR in 2.2 compatibility code. X-Git-Tag: v2.3c1~2373 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd9a8b6bcfe7a58abaf6097f12012342655e7baa;p=thirdparty%2FPython%2Fcpython.git Avoid usage of PyDoc_STR in 2.2 compatibility code. --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 1bb2d82a7ceb..8b9926e0be48 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