Patch #505375: Make doc strings optional.

This commit is contained in:
Martin v. Löwis 2002-06-09 13:33:54 +00:00
parent ec5d6b908c
commit a3fb4f7816
6 changed files with 111 additions and 31 deletions

View file

@ -146,4 +146,14 @@
/* GNU pth user-space thread support */
#include <pth.h>
#endif
/* Define macros for inline documentation. */
#define PyDoc_VAR(name) static char name[]
#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
#ifdef WITH_DOC_STRINGS
#define PyDoc_STR(str) str
#else
#define PyDoc_STR(str) ""
#endif
#endif /* !Py_PYTHON_H */