mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix for platforms where int != long.
This commit is contained in:
parent
4bf1254342
commit
5c1ad84d7f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue