diff options
author | Michael W. Hudson <mwh@python.net> | 2002-09-12 09:31:30 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-09-12 09:31:30 (GMT) |
commit | 5c1ad84d7f62d3e2ec5367c8727481cda072820f (patch) | |
tree | 7383d8778d0ec60389c61300aec1e913b47deded /Objects/sliceobject.c | |
parent | 4bf12543420f9beca5f2c6d886be0a2fe2cbd289 (diff) | |
download | cpython-5c1ad84d7f62d3e2ec5367c8727481cda072820f.zip cpython-5c1ad84d7f62d3e2ec5367c8727481cda072820f.tar.gz cpython-5c1ad84d7f62d3e2ec5367c8727481cda072820f.tar.bz2 |
Fix for platforms where int != long.
Diffstat (limited to 'Objects/sliceobject.c')
-rw-r--r-- | Objects/sliceobject.c | 2 |
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, |