From 4bf57f2f1c3fa38d74a73f72ff20939510f5557f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 3 May 2020 11:01:49 -0700 Subject: [PATCH] Remove out-of-date comment --- Objects/setobject.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objects/setobject.c b/Objects/setobject.c index df4a0e1e9420e6..0e4e45f60a9ccc 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