[Python-checkins] cpython: Remove the else-clause because the conditions are no longer mutually exclusive.
raymond.hettinger
python-checkins at python.org
Sat Aug 17 11:39:55 CEST 2013
http://hg.python.org/cpython/rev/f30b82d380b3
changeset: 85219:f30b82d380b3
user: Raymond Hettinger <python at rcn.com>
date: Sat Aug 17 02:39:46 2013 -0700
summary:
Remove the else-clause because the conditions are no longer mutually exclusive.
files:
Objects/setobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/setobject.c b/Objects/setobject.c
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -140,7 +140,7 @@
return set_lookkey(so, key, hash);
}
}
- else if (entry->key == dummy && freeslot == NULL)
+ if (entry->key == dummy && freeslot == NULL)
freeslot = entry;
}
return entry;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list