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 3a19a89 commit bebba50Copy full SHA for bebba50
1 file changed
Objects/typeobject.c
@@ -5324,10 +5324,10 @@ slot_tp_str(PyObject *self)
5324
func = lookup_method(self, &PyId___str__);
5325
if (func == NULL)
5326
return NULL;
5327
- res = PyEval_CallObject(func, NULL);
5328
- Py_DECREF(func);
5329
- return res;
5330
- }
+ res = PyEval_CallObject(func, NULL);
+ Py_DECREF(func);
+ return res;
+}
5331
5332
static Py_hash_t
5333
slot_tp_hash(PyObject *self)
0 commit comments