summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/rangeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index 5ea5d6f..cd5a804 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -216,8 +216,8 @@ range_item(rangeobject *r, Py_ssize_t i)
if (!PyErr_Occurred())
PyErr_SetString(PyExc_IndexError,
"range object index out of range");
- return NULL;
- }
+ return NULL;
+ }
/* XXX(nnorwitz): optimize for short ints. */
rem = PyLong_FromSsize_t(i);