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 1c27889 commit 33be667Copy full SHA for 33be667
src/mod.c
@@ -154,7 +154,7 @@ static PyObject* force_update_locals(PyObject* self, PyObject* args) {
154
Py_INCREF(target);
155
156
for (int i = 0; i < PyDict_GET_SIZE(f->f_locals); i++) {
157
- if (Py_Is(f->f_localsplus[i], target)) {
+ if (f->f_localsplus[i] == target) {
158
Py_DECREF(f->f_localsplus[i]);
159
f->f_localsplus[i] = value;
160
Py_INCREF(value);
0 commit comments