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.
Py_DECREF
func_get_annotation_dict
1 parent af4329e commit e968121Copy full SHA for e968121
1 file changed
Objects/funcobject.c
@@ -547,6 +547,7 @@ func_get_annotation_dict(PyFunctionObject *op)
547
PyTuple_GET_ITEM(ann_tuple, i + 1));
548
549
if (err < 0) {
550
+ Py_DECREF(ann_dict);
551
return NULL;
552
}
553
0 commit comments