diff options
author | Matthias Klose <doko@ubuntu.com> | 2011-01-16 20:57:01 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2011-01-16 20:57:01 (GMT) |
commit | 616667fbe8eb53c3d0e4701d83987c0594e0da3c (patch) | |
tree | ac529ec9b80568834ff6f36381e7692780cefded /Objects/rangeobject.c | |
parent | ebeb90339de196d97ee197afad5e4e4a7f672a50 (diff) | |
download | cpython-616667fbe8eb53c3d0e4701d83987c0594e0da3c.zip cpython-616667fbe8eb53c3d0e4701d83987c0594e0da3c.tar.gz cpython-616667fbe8eb53c3d0e4701d83987c0594e0da3c.tar.bz2 |
rangeobject.c (compute_slice_indices): Make function static.
Diffstat (limited to 'Objects/rangeobject.c')
-rw-r--r-- | Objects/rangeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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) { |