[Python-checkins] Remove out-of-date comment (GH-19886)

Raymond Hettinger webhook-mailer at python.org
Sun May 3 14:25:54 EDT 2020


https://github.com/python/cpython/commit/d699d5e6178adca785a8701c32daf5e18fad0bf1
commit: d699d5e6178adca785a8701c32daf5e18fad0bf1
branch: master
author: Raymond Hettinger <rhettinger at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-05-03T11:25:46-07:00
summary:

Remove out-of-date comment (GH-19886)

files:
M Objects/setobject.c

diff --git a/Objects/setobject.c b/Objects/setobject.c
index df4a0e1e9420e..0e4e45f60a9cc 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -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



More information about the Python-checkins mailing list