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