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 70b3a1a commit 8d726eeCopy full SHA for 8d726ee
1 file changed
Objects/typeobject.c
@@ -3954,7 +3954,7 @@ add_tp_new_wrapper(PyTypeObject *type)
3954
func = PyCFunction_New(tp_new_methoddef, (PyObject *)type);
3955
if (func == NULL)
3956
return -1;
3957
- if(PyDict_SetItemString(type->tp_dict, "__new__", func)) {
+ if (PyDict_SetItemString(type->tp_dict, "__new__", func)) {
3958
Py_DECREF(func);
3959
3960
}
0 commit comments