Skip to content

Commit fcef217

Browse files
committed
fix
1 parent fa2505a commit fcef217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/dictobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3307,7 +3307,7 @@ _PyDict_FromKeys(PyObject *cls, PyObject *iterable, PyObject *value)
33073307
else if (PyAnySet_CheckExact(iterable)) {
33083308
PyDictObject *mp = (PyDictObject *)d;
33093309

3310-
Py_BEGIN_CRITICAL_SECTION(d);
3310+
Py_BEGIN_CRITICAL_SECTION(iterable);
33113311
d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
33123312
Py_END_CRITICAL_SECTION();
33133313
return d;

0 commit comments

Comments
 (0)