Skip to content

Commit b4f29d7

Browse files
author
jackjansen
committed
PyDoc_STR is always defined nowadays (and has been for quite some time:-)
git-svn-id: http://svn.python.org/projects/python/trunk@34692 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 6dddc0c commit b4f29d7

5 files changed

Lines changed: 0 additions & 15 deletions

File tree

Mac/Modules/ae/aesupport.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ def passInput(self, name):
8282

8383

8484
includestuff = includestuff + """
85-
#ifndef PyDoc_STR
86-
#define PyDoc_STR(x) (x)
87-
#endif
8885
#include <Carbon/Carbon.h>
8986
9087
#ifdef USE_TOOLBOX_OBJECT_GLUE

Mac/Modules/help/helpsupport.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@
3636
#EventKind = Type("EventKind", "H")
3737

3838
includestuff = includestuff + """
39-
#ifndef PyDoc_STR
40-
#define PyDoc_STR(x) (x)
41-
#endif
4239
#include <Carbon/Carbon.h>
4340
"""
4441

Mac/Modules/res/ressupport.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ class ResMethod(ResMixIn, OSErrWeakLinkMethodGenerator): pass
2525
# includestuff etc. are imported from macsupport
2626

2727
includestuff = includestuff + """
28-
#ifndef PyDoc_STR
29-
#define PyDoc_STR(x) (x)
30-
#endif
3128
#include <Carbon/Carbon.h>
3229
3330
#ifdef USE_TOOLBOX_OBJECT_GLUE

Mac/Modules/scrap/scrapsupport.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
ScrapRef = OpaqueByValueType(OBJECTTYPE, OBJECTPREFIX)
2727

2828
includestuff = includestuff + """
29-
#ifndef PyDoc_STR
30-
#define PyDoc_STR(x) (x)
31-
#endif
3229
#include <Carbon/Carbon.h>
3330
3431
/*

Mac/Modules/waste/wastesupport.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@
6363
#include <%s>""" % MACHEADERFILE + """
6464
#include <WEObjectHandlers.h>
6565
#include <WETabs.h>
66-
#ifndef PyDoc_STR
67-
#define PyDoc_STR(x) (x)
68-
#endif
6966
7067
/* Exported by Qdmodule.c: */
7168
extern PyObject *QdRGB_New(RGBColor *);

0 commit comments

Comments
 (0)