]> granicus.if.org Git - python/commitdiff
rangeobject.c (compute_slice_indices): Make function static.
authorMatthias Klose <doko@ubuntu.com>
Sun, 16 Jan 2011 20:57:01 +0000 (20:57 +0000)
committerMatthias Klose <doko@ubuntu.com>
Sun, 16 Jan 2011 20:57:01 +0000 (20:57 +0000)
Objects/rangeobject.c

index 979a62afdb1797eb1c9b7b8590373dba06588cf7..cff2ce4741abeb7747fc28963093d21e67a5b6d4 100644 (file)
@@ -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)
 {