diff options
author | Michael W. Hudson <mwh@python.net> | 2002-09-12 09:31:30 +0000 |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2002-09-12 09:31:30 +0000 |
commit | 633c5a689d3d375ad3070bdb29593a05c96d2360 (patch) | |
tree | c3b9e480a3ab972ed7967178d59cf2258226b288 /Objects/sliceobject.c | |
parent | 2d4f5130cc243404a9918213afa2e92de96dc1b7 (diff) | |
download | cpython-633c5a689d3d375ad3070bdb29593a05c96d2360.tar.gz |
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 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, |