Skip to content

Commit 616667f

Browse files
committed
rangeobject.c (compute_slice_indices): Make function static.
1 parent ebeb903 commit 616667f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/rangeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ compute_slice_element(PyObject *obj)
342342
* Result indicates whether or not the slice is empty
343343
* (-1 = error, 0 = empty slice, 1 = slice contains elements)
344344
*/
345-
int
345+
static int
346346
compute_slice_indices(rangeobject *r, PySliceObject *slice,
347347
PyObject **start, PyObject **stop, PyObject **step)
348348
{

0 commit comments

Comments
 (0)