]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove out-of-date comment (GH-19886)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Sun, 3 May 2020 18:25:46 +0000 (11:25 -0700)
committerGitHub <noreply@github.com>
Sun, 3 May 2020 18:25:46 +0000 (11:25 -0700)
Objects/setobject.c

index df4a0e1e9420e66f64cd6f03d5af9f4bda5efd7e..0e4e45f60a9ccc5a6fb8c168aaa284b37c72281c 100644 (file)
@@ -243,8 +243,7 @@ set_add_entry(PySetObject *so, PyObject *key, Py_hash_t hash)
 
 /*
 Internal routine used by set_table_resize() to insert an item which is
-known to be absent from the set.  This routine also assumes that
-the set contains no deleted entries.  Besides the performance benefit,
+known to be absent from the set.  Besides the performance benefit,
 there is also safety benefit since using set_add_entry() risks making
 a callback in the middle of a set_table_resize(), see issue 1456209.
 The caller is responsible for updating the key's reference count and