diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-19 06:16:13 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-19 06:16:13 (GMT) |
commit | 2cf936fe7a5599dac368b4f04e5c5fc38db26c06 (patch) | |
tree | 4059f62317839cf1dc11d7ad226514baf4393865 /Objects/funcobject.c | |
parent | 84e821e961b5f0ea288f7f200902c24ec4f523bc (diff) | |
download | cpython-2cf936fe7a5599dac368b4f04e5c5fc38db26c06.zip cpython-2cf936fe7a5599dac368b4f04e5c5fc38db26c06.tar.gz cpython-2cf936fe7a5599dac368b4f04e5c5fc38db26c06.tar.bz2 |
use defaults
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r-- | Objects/funcobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c index 6cbf297..089356b 100644 --- a/Objects/funcobject.c +++ b/Objects/funcobject.c @@ -707,8 +707,8 @@ PyTypeObject PyFunction_Type = { 0, /* tp_hash */ function_call, /* tp_call */ 0, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ - PyObject_GenericSetAttr, /* tp_setattro */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,/* tp_flags */ func_doc, /* tp_doc */ @@ -885,7 +885,7 @@ PyTypeObject PyClassMethod_Type = { 0, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ + 0, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC, |