From: Raymond Hettinger Date: Mon, 14 Dec 2015 03:27:17 +0000 (-0800) Subject: Undo inadvertent line swap X-Git-Tag: v3.6.0a1~913 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86d322f0204797b0a2fe46e33bce240335270c6f;p=python Undo inadvertent line swap --- diff --git a/Objects/setobject.c b/Objects/setobject.c index b00e85fb82..4723b584b8 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -282,8 +282,8 @@ set_insert_clean(setentry *table, size_t mask, PyObject *key, Py_hash_t hash) i = (i * 5 + 1 + perturb) & mask; } found_null: - entry->hash = hash; entry->key = key; + entry->hash = hash; } /* ======== End logic for probing the hash table ========================== */