diff Python/bltinmodule.c @ 18392:74b3c4e3f486 legacy-trunk

Complete the xrange-simplification checkins: call PyRange_New() with fewer arguments.
author Guido van Rossum <guido@python.org>
date Thu, 05 Jul 2001 14:44:41 +0000
parents 3ba7a358ce02
children 9653272f036f
line wrap: on
line diff
--- a/Python/bltinmodule.c	Thu Jul 05 13:27:48 2001 +0000
+++ b/Python/bltinmodule.c	Thu Jul 05 14:44:41 2001 +0000
@@ -1763,7 +1763,7 @@
 				"xrange() result has too many items");
 		return NULL;
 	}
-	return PyRange_New(ilow, n, istep, 1);
+	return PyRange_New(ilow, n, istep);
 }
 
 static char xrange_doc[] =