Skip to content
Closed
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
Minor code cleanup as suggested by review.
  • Loading branch information
nascheme committed Oct 1, 2024
commit 1d0b7c1a3e9e33f03f8adc9a53d3f050b1bbee40
3 changes: 1 addition & 2 deletions Objects/unicodeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ clear_interned_dict_legacy(PyInterpreterState *interp)
Py_ssize_t pos = 0;
PyObject *s, *ignored_value;
while (PyDict_Next(interned, &pos, &s, &ignored_value)) {
assert(PyUnicode_IS_READY(s));
#ifdef Py_TRACE_REFS
_Py_AddToAllObjects(s);
#endif
Expand All @@ -381,7 +380,7 @@ clear_interned_dict_legacy(PyInterpreterState *interp)
#endif
break;
case SSTATE_NOT_INTERNED:
/* fall through */
_Py_FALLTHROUGH;
default:
Py_UNREACHABLE();
}
Expand Down