Skip to content

Commit f79e41a

Browse files
Update specialize.c
1 parent 613135a commit f79e41a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/specialize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ specialize_dict_access_hint(
646646
}
647647
#ifdef Py_GIL_DISABLED
648648
PyObject *value;
649-
Py_ssize_t index = _PyDict_LookupIndexAndValue((PyDictObject *)globals, name, &value);
649+
Py_ssize_t index = _PyDict_LookupIndexAndValue(dict, name, &value);
650650
#else
651651
Py_ssize_t index = _PyDict_LookupIndex(dict, name);
652652
#endif

0 commit comments

Comments
 (0)