diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-28 10:05:53 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-28 10:05:53 (GMT) |
commit | 218a5ed7d032c3e03a3e99b31612a667388c2653 (patch) | |
tree | 45bea2686e4031dd64499917ef397484f4921e08 /Modules/pyexpat.c | |
parent | 69a79638adc180e9c29f2171448326262e249761 (diff) | |
download | cpython-218a5ed7d032c3e03a3e99b31612a667388c2653.zip cpython-218a5ed7d032c3e03a3e99b31612a667388c2653.tar.gz cpython-218a5ed7d032c3e03a3e99b31612a667388c2653.tar.bz2 |
Fixed #1508 Removal of stale code in _csv.c / pyexpat.c
Credits belong to Joseph Armbruster
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r-- | Modules/pyexpat.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c index b18e371..738bfd2 100644 --- a/Modules/pyexpat.c +++ b/Modules/pyexpat.c @@ -8,20 +8,6 @@ #define XML_COMBINED_VERSION (10000*XML_MAJOR_VERSION+100*XML_MINOR_VERSION+XML_MICRO_VERSION) -#ifndef PyDoc_STRVAR - -/* - * fdrake says: - * Don't change the PyDoc_STR macro definition to (str), because - * '''the parentheses cause compile failures - * ("non-constant static initializer" or something like that) - * on some platforms (Irix?)''' - */ -#define PyDoc_STR(str) str -#define PyDoc_VAR(name) static char name[] -#define PyDoc_STRVAR(name,str) PyDoc_VAR(name) = PyDoc_STR(str) -#endif - #define FIX_TRACE enum HandlerTypes { |