diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-02-18 17:02:15 +0000 |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2003-02-18 17:02:15 +0000 |
commit | ff71c98449c7fd2499d51474dbf690eb7f98dabf (patch) | |
tree | 0a51f930c9c98e5cb451edd891f93e7e2392eb75 /Objects/methodobject.c | |
parent | e2052ab82aad273fa547fb91e09d63a15b3be305 (diff) | |
download | cpython-git-ff71c98449c7fd2499d51474dbf690eb7f98dabf.tar.gz |
Make __module__ settable on functions and methods.
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index aa64ff19fb..5e967d3f3d 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -189,7 +189,7 @@ static PyGetSetDef meth_getsets [] = { #define OFF(x) offsetof(PyCFunctionObject, x) static PyMemberDef meth_members[] = { - {"__module__", T_OBJECT, OFF(m_module), READONLY}, + {"__module__", T_OBJECT, OFF(m_module)}, {NULL} }; |