summaryrefslogtreecommitdiffstats
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-17 19:08:41 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-17 19:08:41 (GMT)
commitbce52be4916fe817cf2f08aa00ee1cc224e3513f (patch)
tree8e01b10aa0a69bbfc27ade3debe5e8fcb68a5b3d /Objects/methodobject.c
parentd157e6977784c9483bdffc5d8ccd108c3cd4f94f (diff)
downloadcpython-bce52be4916fe817cf2f08aa00ee1cc224e3513f.zip
cpython-bce52be4916fe817cf2f08aa00ee1cc224e3513f.tar.gz
cpython-bce52be4916fe817cf2f08aa00ee1cc224e3513f.tar.bz2
Fixed some build issues and updated docs.
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 8a8ca03..73e0790 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -167,7 +167,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}
};