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 e1cf080..4e77d52 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -257,7 +257,7 @@ func_set_defaults(PyFunctionObject *op, PyObject *value) return 0; } -static struct getsetlist func_getsetlist[] = { +static PyGetSetDef func_getsetlist[] = { {"func_code", (getter)func_get_code, (setter)func_set_code}, {"func_defaults", (getter)func_get_defaults, (setter)func_set_defaults}, |