[Python-checkins] r88057 - python/branches/py3k/Objects/rangeobject.c

matthias.klose python-checkins at python.org
Sun Jan 16 21:57:01 CET 2011


Author: matthias.klose
Date: Sun Jan 16 21:57:01 2011
New Revision: 88057

Log:
rangeobject.c (compute_slice_indices): Make function static.


Modified:
   python/branches/py3k/Objects/rangeobject.c

Modified: python/branches/py3k/Objects/rangeobject.c
==============================================================================
--- python/branches/py3k/Objects/rangeobject.c	(original)
+++ python/branches/py3k/Objects/rangeobject.c	Sun Jan 16 21:57:01 2011
@@ -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)
 {


More information about the Python-checkins mailing list