commit | 616667fbe8eb53c3d0e4701d83987c0594e0da3c | [log] [tgz] |
---|---|---|
author | Matthias Klose <doko@ubuntu.com> | Sun Jan 16 20:57:01 2011 +0000 |
committer | Matthias Klose <doko@ubuntu.com> | Sun Jan 16 20:57:01 2011 +0000 |
tree | ac529ec9b80568834ff6f36381e7692780cefded | |
parent | ebeb90339de196d97ee197afad5e4e4a7f672a50 [diff] [blame] |
rangeobject.c (compute_slice_indices): Make function static.
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index 979a62a..cff2ce4 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c
@@ -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) {