Skip to content

Commit f720557

Browse files
Update Objects/longobject.c
Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent 76c4f6a commit f720557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/longobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3686,7 +3686,7 @@ long_hash(PyObject *obj)
36863686
#endif
36873687
#if ( PyHASH_BITS > (2 * PyLong_SHIFT) )
36883688
--i;
3689-
x = ((x << PyLong_SHIFT));
3689+
x <<= PyLong_SHIFT;
36903690
x += v->long_value.ob_digit[i];
36913691
assert(x < PyHASH_MODULUS);
36923692
#endif

0 commit comments

Comments
 (0)