Fix comment.

This commit is contained in:
Mark Dickinson 2009-01-26 21:40:08 +00:00
parent 6ffa4a2a7d
commit a0eae0398c
1 changed files with 3 additions and 3 deletions

View File

@ -1977,9 +1977,9 @@ long_hash(PyLongObject *v)
i = -(i);
}
#define LONG_BIT_PyLong_SHIFT (8*sizeof(long) - PyLong_SHIFT)
/* The following loop produces a C long x such that x is congruent to
the absolute value of v modulo ULONG_MAX. The resulting x is
nonzero if and only if v is. */
/* The following loop produces a C unsigned long x such that x is
congruent to the absolute value of v modulo ULONG_MAX. The
resulting x is nonzero if and only if v is. */
while (--i >= 0) {
/* Force a native long #-bits (32 or 64) circular shift */
x = ((x << PyLong_SHIFT) & ~PyLong_MASK) |