Fixed some build issues and updated docs.

This commit is contained in:
Christian Heimes 2007-11-17 19:08:41 +00:00
parent d157e69777
commit bce52be491
6 changed files with 15 additions and 10 deletions

View file

@ -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}
};