diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-17 09:39:46 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-17 09:39:46 (GMT) |
commit | 07351a044960f259c8730de3f81356fbcdbe2bbf (patch) | |
tree | 1f2ade55db1ed47f5cf3630b1cff41ec07c8ecd4 | |
parent | 237b34b0747ac97d8e63cc5b1379db753da57c18 (diff) | |
download | cpython-07351a044960f259c8730de3f81356fbcdbe2bbf.zip cpython-07351a044960f259c8730de3f81356fbcdbe2bbf.tar.gz cpython-07351a044960f259c8730de3f81356fbcdbe2bbf.tar.bz2 |
Remove the else-clause because the conditions are no longer mutually exclusive.
-rw-r--r-- | Objects/setobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index da3b955..0db7e88 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -140,7 +140,7 @@ set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) return set_lookkey(so, key, hash); } } - else if (entry->key == dummy && freeslot == NULL) + if (entry->key == dummy && freeslot == NULL) freeslot = entry; } return entry; |