summaryrefslogtreecommitdiff
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-09-02 15:54:06 +0000
committerFred Drake <fdrake@acm.org>2002-09-02 15:54:06 +0000
commitd7745d2d1626ffdb05320c47166f65d9433428ee (patch)
tree70870bedc8aa5b6a9d29380c938754dcf4a5ba6c /Modules/pyexpat.c
parentb5b43ef9cfbd9e39e96f289fb5b570cd8a65a342 (diff)
downloadcpython-d7745d2d1626ffdb05320c47166f65d9433428ee.tar.gz
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/pyexpat.c')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 8b73e1efaf..85cb602fb6 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