diff options
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r-- | Objects/funcobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c index 91a3127..e1cf080 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -129,7 +129,7 @@ PyFunction_SetClosure(PyObject *op, PyObject *closure) #define RR () -static struct memberlist func_memberlist[] = { +static PyMemberDef func_memberlist[] = { {"func_closure", T_OBJECT, OFF(func_closure), RESTRICTED|READONLY}, {"func_doc", T_OBJECT, OFF(func_doc), WRITE_RESTRICTED}, |