diff options
-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 b00e85f..4723b58 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 ========================== */ |