We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d68a8 commit fa78806Copy full SHA for fa78806
1 file changed
Objects/setobject.c
@@ -795,7 +795,7 @@ frozenset_hash(PyObject *self)
795
hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL;
796
797
/* Disperse patterns arising in nested frozensets */
798
- hash ^= (hash >> 11) ^ (~hash >> 25);
+ hash ^= (hash >> 11) ^ (hash >> 25);
799
hash = hash * 69069U + 907133923UL;
800
801
/* -1 is reserved as an error code */
0 commit comments