Author: raymond.hettinger
Date: Sat Feb  9 05:13:49 2008
New Revision: 60686

Modified:
   python/branches/py3k/Objects/rangeobject.c
Log:
Merge r60673

Modified: python/branches/py3k/Objects/rangeobject.c
==============================================================================
--- python/branches/py3k/Objects/rangeobject.c  (original)
+++ python/branches/py3k/Objects/rangeobject.c  Sat Feb  9 05:13:49 2008
@@ -220,7 +220,7 @@
         }
 
     /* XXX(nnorwitz): optimize for short ints. */
-    rem = PyLong_FromSsize_t(i % len);
+    rem = PyLong_FromSsize_t(i);
     if (!rem)
         return NULL;
     incr = PyNumber_Multiply(rem, r->step);
_______________________________________________
Python-3000-checkins mailing list
Python-3000-checkins@python.org
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to