[Python-checkins] cpython: Undo inadvertent line swap

raymond.hettinger python-checkins at python.org
Sun Dec 13 22:27:25 EST 2015


https://hg.python.org/cpython/rev/7309be384c6a
changeset:   99563:7309be384c6a
parent:      99561:c8de4f05c6c3
user:        Raymond Hettinger <python at rcn.com>
date:        Sun Dec 13 19:27:17 2015 -0800
summary:
  Undo inadvertent line swap

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
@@ -282,8 +282,8 @@
         i = (i * 5 + 1 + perturb) & mask;
     }
   found_null:
+    entry->key = key;
     entry->hash = hash;
-    entry->key = key;
 }
 
 /* ======== End logic for probing the hash table ========================== */

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list