summaryrefslogtreecommitdiffstats
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-22 11:21:16 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-22 11:21:16 (GMT)
commite8954f8ce7d60d5d926f29511cde99f2f3ea0630 (patch)
treef49ff9e954b5eac92e2b8938baca8457f2371e49 /Objects/methodobject.c
parent64c06e327d48150fc548cf18a4a7ae0b890e69fa (diff)
downloadcpython-e8954f8ce7d60d5d926f29511cde99f2f3ea0630.zip
cpython-e8954f8ce7d60d5d926f29511cde99f2f3ea0630.tar.gz
cpython-e8954f8ce7d60d5d926f29511cde99f2f3ea0630.tar.bz2
Backport of the PCbuild9 directory from the py3k branch.
I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k. Have fun! :)
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r--Objects/methodobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 00d3cfa..3daa9dd 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -180,7 +180,7 @@ static PyGetSetDef meth_getsets [] = {
#define OFF(x) offsetof(PyCFunctionObject, x)
static PyMemberDef meth_members[] = {
- {"__module__", T_OBJECT, OFF(m_module), WRITE_RESTRICTED},
+ {"__module__", T_OBJECT, OFF(m_module), PY_WRITE_RESTRICTED},
{NULL}
};