summaryrefslogtreecommitdiff
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-26 21:40:08 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-01-26 21:40:08 +0000
commitac688276b584baf4cb7910ada1989bb36fa23a90 (patch)
treede79aa924db624588a675c2a0072e1815898eaa5 /Objects/longobject.c
parentb807ad481227bbaf7231f42a832117f17a82bfd2 (diff)
downloadcpython-ac688276b584baf4cb7910ada1989bb36fa23a90.tar.gz
Fix comment.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index fdb5664af8..fdbda6b701 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -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) |