Skip to content

Commit 9eafd4a

Browse files
committed
Fix the comment
1 parent b629c3f commit 9eafd4a

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
@@ -3125,7 +3125,6 @@ clear_embedded_values(PyDictValues *values, Py_ssize_t nentries)
31253125
static void
31263126
clear_common(PyDictObject *mp)
31273127
{
3128-
/* Empty the dict... */
31293128
_PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
31303129
// We don't inc ref empty keys because they're immortal
31313130
ensure_shared_on_resize(mp);
@@ -3150,6 +3149,7 @@ clear_lock_held(PyObject *op)
31503149
if (oldkeys == Py_EMPTY_KEYS) {
31513150
return;
31523151
}
3152+
/* Empty the dict... */
31533153
clear_common(mp);
31543154
if (oldvalues == NULL) {
31553155
set_keys(mp, Py_EMPTY_KEYS);

0 commit comments

Comments
 (0)