summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-09-02 15:54:06 (GMT)
committerFred Drake <fdrake@acm.org>2002-09-02 15:54:06 (GMT)
commitf57b22a716a18b6246e11279985bf86635e4a078 (patch)
tree1ceb4c454650905d1ddec95be99620f721a7a270 /Modules
parent3aeb632c3152fa082132ce55b9a880e0d16b04ae (diff)
downloadcpython-f57b22a716a18b6246e11279985bf86635e4a078.zip
cpython-f57b22a716a18b6246e11279985bf86635e4a078.tar.gz
cpython-f57b22a716a18b6246e11279985bf86635e4a078.tar.bz2
Minor change for symmetry with PyXML: PyDoc_STR should not include
the "safety" parentheses since some older compilers refuse to compile the module then, claiming that static initializers are non-constant. This doesn't actually make any difference for Python, since these definitions are not used when compiling with a version of Python that already defines the PyDoc_* macros.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 8b73e1e..85cb602 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -6,7 +6,7 @@
#include "expat.h"
#ifndef PyDoc_STRVAR
-#define PyDoc_STR(str) (str)
+#define PyDoc_STR(str) str
#define PyDoc_VAR(name) static char name[]
#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str)
#endif