summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-09-12 09:31:30 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-09-12 09:31:30 (GMT)
commit5c1ad84d7f62d3e2ec5367c8727481cda072820f (patch)
tree7383d8778d0ec60389c61300aec1e913b47deded /Objects
parent4bf12543420f9beca5f2c6d886be0a2fe2cbd289 (diff)
downloadcpython-5c1ad84d7f62d3e2ec5367c8727481cda072820f.zip
cpython-5c1ad84d7f62d3e2ec5367c8727481cda072820f.tar.gz
cpython-5c1ad84d7f62d3e2ec5367c8727481cda072820f.tar.bz2
Fix for platforms where int != long.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/sliceobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/sliceobject.c b/Objects/sliceobject.c
index 83af14f..21426a7 100644
--- a/Objects/sliceobject.c
+++ b/Objects/sliceobject.c
@@ -237,7 +237,7 @@ slice_indices(PySliceObject* self, PyObject* len)
return NULL;
}
- return Py_BuildValue("(lll)", start, stop, step);
+ return Py_BuildValue("(iii)", start, stop, step);
}
PyDoc_STRVAR(slice_indices_doc,