mirror of https://github.com/python/cpython.git
rangeobject.c (compute_slice_indices): Make function static.
This commit is contained in:
parent
ebeb90339d
commit
616667fbe8
|
@ -342,7 +342,7 @@ compute_slice_element(PyObject *obj)
|
||||||
* Result indicates whether or not the slice is empty
|
* Result indicates whether or not the slice is empty
|
||||||
* (-1 = error, 0 = empty slice, 1 = slice contains elements)
|
* (-1 = error, 0 = empty slice, 1 = slice contains elements)
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
compute_slice_indices(rangeobject *r, PySliceObject *slice,
|
compute_slice_indices(rangeobject *r, PySliceObject *slice,
|
||||||
PyObject **start, PyObject **stop, PyObject **step)
|
PyObject **start, PyObject **stop, PyObject **step)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue