diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-17 19:08:41 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-17 19:08:41 (GMT) |
commit | bce52be4916fe817cf2f08aa00ee1cc224e3513f (patch) | |
tree | 8e01b10aa0a69bbfc27ade3debe5e8fcb68a5b3d /Objects/funcobject.c | |
parent | d157e6977784c9483bdffc5d8ccd108c3cd4f94f (diff) | |
download | cpython-bce52be4916fe817cf2f08aa00ee1cc224e3513f.zip cpython-bce52be4916fe817cf2f08aa00ee1cc224e3513f.tar.gz cpython-bce52be4916fe817cf2f08aa00ee1cc224e3513f.tar.bz2 |
Fixed some build issues and updated docs.
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r-- | Objects/funcobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c index 808f4ea..408be4c 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -227,10 +227,10 @@ PyFunction_SetAnnotations(PyObject *op, PyObject *annotations) static PyMemberDef func_memberlist[] = { {"__closure__", T_OBJECT, OFF(func_closure), RESTRICTED|READONLY}, - {"__doc__", T_OBJECT, OFF(func_doc), WRITE_RESTRICTED}, + {"__doc__", T_OBJECT, OFF(func_doc), PY_WRITE_RESTRICTED}, {"__globals__", T_OBJECT, OFF(func_globals), RESTRICTED|READONLY}, - {"__module__", T_OBJECT, OFF(func_module), WRITE_RESTRICTED}, + {"__module__", T_OBJECT, OFF(func_module), PY_WRITE_RESTRICTED}, {NULL} /* Sentinel */ }; |