diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 16:18:02 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-11-19 16:18:02 (GMT) |
commit | 9588770e25db99692f3ebb680235bc1a02b65017 (patch) | |
tree | ca8e9c449d18be8fee275ccb2a437f6548dc5952 | |
parent | e48cef7aba0993ca6d01579f62900f0596960885 (diff) | |
download | cpython-9588770e25db99692f3ebb680235bc1a02b65017.zip cpython-9588770e25db99692f3ebb680235bc1a02b65017.tar.gz cpython-9588770e25db99692f3ebb680235bc1a02b65017.tar.bz2 |
PyDoc_STR is always defined nowadays (and has been for quite some time:-)
-rw-r--r-- | Mac/Modules/ae/aesupport.py | 3 | ||||
-rw-r--r-- | Mac/Modules/help/helpsupport.py | 3 | ||||
-rw-r--r-- | Mac/Modules/res/ressupport.py | 3 | ||||
-rw-r--r-- | Mac/Modules/scrap/scrapsupport.py | 3 | ||||
-rw-r--r-- | Mac/Modules/waste/wastesupport.py | 3 |
5 files changed, 0 insertions, 15 deletions
diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py index 672b544..96d1ccf 100644 --- a/Mac/Modules/ae/aesupport.py +++ b/Mac/Modules/ae/aesupport.py @@ -82,9 +82,6 @@ AEMethod = OSErrWeakLinkMethodGenerator includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include <Carbon/Carbon.h> #ifdef USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/help/helpsupport.py b/Mac/Modules/help/helpsupport.py index 230ec0c..a630603 100644 --- a/Mac/Modules/help/helpsupport.py +++ b/Mac/Modules/help/helpsupport.py @@ -36,9 +36,6 @@ MenuItemIndex = Type("MenuItemIndex", "H") #EventKind = Type("EventKind", "H") includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include <Carbon/Carbon.h> """ diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py index 91ab00a..6135560 100644 --- a/Mac/Modules/res/ressupport.py +++ b/Mac/Modules/res/ressupport.py @@ -25,9 +25,6 @@ FSCatalogInfo_ptr = FakeType("(FSCatalogInfo *)0") # includestuff etc. are imported from macsupport includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include <Carbon/Carbon.h> #ifdef USE_TOOLBOX_OBJECT_GLUE diff --git a/Mac/Modules/scrap/scrapsupport.py b/Mac/Modules/scrap/scrapsupport.py index 85c1e3b..634a439 100644 --- a/Mac/Modules/scrap/scrapsupport.py +++ b/Mac/Modules/scrap/scrapsupport.py @@ -26,9 +26,6 @@ from macsupport import * ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX) includestuff = includestuff + """ -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif #include <Carbon/Carbon.h> /* diff --git a/Mac/Modules/waste/wastesupport.py b/Mac/Modules/waste/wastesupport.py index e983b15..c669fa1 100644 --- a/Mac/Modules/waste/wastesupport.py +++ b/Mac/Modules/waste/wastesupport.py @@ -63,9 +63,6 @@ includestuff = includestuff + """ #include <%s>""" % MACHEADERFILE + """ #include <WEObjectHandlers.h> #include <WETabs.h> -#ifndef PyDoc_STR -#define PyDoc_STR(x) (x) -#endif /* Exported by Qdmodule.c: */ extern PyObject *QdRGB_New(RGBColor *); |