Kaydet (Commit) 5c1ad84d authored tarafından Michael W. Hudson's avatar Michael W. Hudson

Fix for platforms where int != long.

üst 4bf12543
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment