Skip to content

Commit d699d5e

Browse files
authored
Remove out-of-date comment (pythonGH-19886)
1 parent 493bf1c commit d699d5e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎Objects/setobject.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,7 @@ set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash)
243243

244244
/*
245245
Internal routine used by set_table_resize() to insert an item which is
246-
known to be absent from the set. This routine also assumes that
247-
the set contains no deleted entries. Besides the performance benefit,
246+
known to be absent from the set. Besides the performance benefit,
248247
there is also safety benefit since using set_add_entry() risks making
249248
a callback in the middle of a set_table_resize(), see issue 1456209.
250249
The caller is responsible for updating the key's reference count and

0 commit comments

Comments
 (0)