Mercurial > cpython-lru_cache-weakref
diff Objects/rangeobject.c @ 67642:faec1b5a96db
rangeobject.c (compute_slice_indices): Make function static.
| author | Matthias Klose <doko@ubuntu.com> |
|---|---|
| date | Sun, 16 Jan 2011 20:57:01 +0000 |
| parents | 10d67db67942 |
| children | 3c9232a684ae |
line wrap: on
line diff
--- a/Objects/rangeobject.c Sun Jan 16 18:45:17 2011 +0000 +++ b/Objects/rangeobject.c Sun Jan 16 20:57:01 2011 +0000 @@ -342,7 +342,7 @@ * 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) {
