mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
rangeobject.c (compute_slice_indices): Make function static.
This commit is contained in:
parent
ebeb90339d
commit
616667fbe8
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ compute_slice_element(PyObject *obj)
|
|||
* Result indicates whether or not the slice is empty
|
||||
* (-1 = error, 0 = empty slice, 1 = slice contains elements)
|
||||
*/
|
||||
int
|
||||
static int
|
||||
compute_slice_indices(rangeobject *r, PySliceObject *slice,
|
||||
PyObject **start, PyObject **stop, PyObject **step)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue