Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84e821e commit 2cf936fCopy full SHA for 2cf936f
1 file changed
Objects/funcobject.c
@@ -707,8 +707,8 @@ PyTypeObject PyFunction_Type = {
707
0, /* tp_hash */
708
function_call, /* tp_call */
709
0, /* tp_str */
710
- PyObject_GenericGetAttr, /* tp_getattro */
711
- PyObject_GenericSetAttr, /* tp_setattro */
+ 0, /* tp_getattro */
+ 0, /* tp_setattro */
712
0, /* tp_as_buffer */
713
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC,/* tp_flags */
714
func_doc, /* tp_doc */
@@ -885,7 +885,7 @@ PyTypeObject PyClassMethod_Type = {
885
886
0, /* tp_call */
887
888
889
0, /* tp_setattro */
890
891
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC,
0 commit comments