Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cf936f

Browse files
committed
use defaults
1 parent 84e821e commit 2cf936f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Objects/funcobject.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ PyTypeObject PyFunction_Type = {
707707
0, /* tp_hash */
708708
function_call, /* tp_call */
709709
0, /* tp_str */
710-
PyObject_GenericGetAttr, /* tp_getattro */
711-
PyObject_GenericSetAttr, /* tp_setattro */
710+
0, /* tp_getattro */
711+
0, /* tp_setattro */
712712
0, /* tp_as_buffer */
713713
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,/* tp_flags */
714714
func_doc, /* tp_doc */
@@ -885,7 +885,7 @@ PyTypeObject PyClassMethod_Type = {
885885
0, /* tp_hash */
886886
0, /* tp_call */
887887
0, /* tp_str */
888-
PyObject_GenericGetAttr, /* tp_getattro */
888+
0, /* tp_getattro */
889889
0, /* tp_setattro */
890890
0, /* tp_as_buffer */
891891
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,

0 commit comments

Comments
 (0)