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 0295846 commit 16f39bdCopy full SHA for 16f39bd
1 file changed
Modules/_abc.c
@@ -847,6 +847,7 @@ _abc__abc_subclasscheck_impl(PyObject *module, PyObject *self,
847
_abc_data *scls_impl;
848
int scls_is_abc = _get_optional_impl(state, scls, &scls_impl);
849
if (scls_is_abc < 0) {
850
+ Py_DECREF(scls);
851
goto end;
852
}
853
if (scls_is_abc > 0) {
0 commit comments