diff Objects/sliceobject.c @ 25228:1a7895f97b30 legacy-trunk

Fix for platforms where int != long.
author Michael W. Hudson <mwh@python.net>
date Thu, 12 Sep 2002 09:31:30 +0000
parents 31227353cbbc
children 6ed2e23aae45
line wrap: on
line diff
--- a/Objects/sliceobject.c	Thu Sep 12 05:08:00 2002 +0000
+++ b/Objects/sliceobject.c	Thu Sep 12 09:31:30 2002 +0000
@@ -237,7 +237,7 @@
 		return NULL;
 	}
 
-	return Py_BuildValue("(lll)", start, stop, step);
+	return Py_BuildValue("(iii)", start, stop, step);
 }
 
 PyDoc_STRVAR(slice_indices_doc,