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 4a1a504 commit 302767bCopy full SHA for 302767b
1 file changed
Objects/typeobject.c
@@ -8010,7 +8010,7 @@ reduce_newobj(PyObject *obj)
8010
return NULL;
8011
}
8012
8013
- state = object_getstate(obj, !(hasargs || PyList_Check(obj) || PyDict_Check(obj)));
+ state = object_getstate(obj, !(hasargs || PyList_Check(obj) || _PyAnyDict_Check(obj)));
8014
if (state == NULL) {
8015
Py_DECREF(newobj);
8016
Py_DECREF(newargs);
0 commit comments