Skip to content

Commit 4a6b885

Browse files
author
mark.dickinson
committed
Fix comment.
git-svn-id: http://svn.python.org/projects/python/trunk@68975 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 3f4d39e commit 4a6b885

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Objects/longobject.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,9 +1977,9 @@ long_hash(PyLongObject *v)
19771977
i = -(i);
19781978
}
19791979
#define LONG_BIT_PyLong_SHIFT (8*sizeof(long) - PyLong_SHIFT)
1980-
/* The following loop produces a C long x such that x is congruent to
1981-
the absolute value of v modulo ULONG_MAX. The resulting x is
1982-
nonzero if and only if v is. */
1980+
/* The following loop produces a C unsigned long x such that x is
1981+
congruent to the absolute value of v modulo ULONG_MAX. The
1982+
resulting x is nonzero if and only if v is. */
19831983
while (--i >= 0) {
19841984
/* Force a native long #-bits (32 or 64) circular shift */
19851985
x = ((x << PyLong_SHIFT) & ~PyLong_MASK) |

0 commit comments

Comments
 (0)