Skip to content

Commit 6c8d856

Browse files
committed
Revert "fix"
This reverts commit fcef217.
1 parent 5e27575 commit 6c8d856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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(iterable);
3310+
Py_BEGIN_CRITICAL_SECTION(d);
33113311
d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
33123312
Py_END_CRITICAL_SECTION();
33133313
return d;

0 commit comments

Comments
 (0)