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
Next Next commit
Fix negation of case.
  • Loading branch information
ZeroIntensity committed Feb 23, 2025
commit 5025d610a29786ca6da46a85c439c73dbac68f13
2 changes: 1 addition & 1 deletion Objects/dictobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -4577,7 +4577,7 @@ dict_traverse(PyObject *op, visitproc visit, void *arg)

if (DK_IS_UNICODE(keys)) {
if (_PyDict_HasSplitTable(mp)) {
if (!mp->ma_values->embedded || !mp->ma_values->valid) {
if (mp->ma_values->valid) {
for (i = 0; i < n; i++) {
Py_VISIT(mp->ma_values->values[i]);
}
Expand Down