Avoid usage of PyDoc_STR in 2.2 compatibility code.

This commit is contained in:
Martin v. Löwis 2003-01-21 21:52:57 +00:00
parent 2a1d51602b
commit cd9a8b6bcf

View 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