Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address review
  • Loading branch information
sobolevn committed May 5, 2024
commit d1e1c5d41d6fe5e4b251a4e0f539657361920d22
5 changes: 2 additions & 3 deletions Python/ceval.c
Original file line number Diff line number Diff line change
Expand Up @@ -2507,11 +2507,10 @@ _PyEval_GetFrameLocals(void)
}
Py_DECREF(locals);
return ret;
} else if (PyMapping_Check(locals)) {
return locals;
}

return NULL;
assert(PyMapping_Check(locals));
return locals;
}

PyObject *
Expand Down