Skip to content
Prev Previous commit
Next Next commit
Revert "nit"
This reverts commit fa2505a.
  • Loading branch information
corona10 committed Feb 17, 2026
commit 26c46c7fff515a8e85c718ae613a466c3c3db92b
3 changes: 2 additions & 1 deletion Objects/dictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -3322,7 +3322,8 @@ _PyDict_FromKeys(PyObject *cls, PyObject *iterable, PyObject *value)

if (PyAnyDict_CheckExact(d)) {
while ((key = PyIter_Next(it)) != NULL) {
status = anydict_setitem_take2((PyDictObject *)d, key, Py_NewRef(value));
status = anydict_setitem_take2((PyDictObject *)d,
key, Py_NewRef(value));
if (status < 0) {
assert(PyErr_Occurred());
goto Fail;
Expand Down