summaryrefslogtreecommitdiff
path: root/Objects/sliceobject.c
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-09-12 09:31:30 +0000
committerMichael W. Hudson <mwh@python.net>2002-09-12 09:31:30 +0000
commit633c5a689d3d375ad3070bdb29593a05c96d2360 (patch)
treec3b9e480a3ab972ed7967178d59cf2258226b288 /Objects/sliceobject.c
parent2d4f5130cc243404a9918213afa2e92de96dc1b7 (diff)
downloadcpython-633c5a689d3d375ad3070bdb29593a05c96d2360.tar.gz
Fix for platforms where int != long.
Diffstat (limited to 'Objects/sliceobject.c')
-rw-r--r--Objects/sliceobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/sliceobject.c b/Objects/sliceobject.c
index 83af14f37e..21426a761a 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,