summaryrefslogtreecommitdiffstats
path: root/Objects/rangeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/rangeobject.c')
-rw-r--r--Objects/rangeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index 9d0d9cd..9c7b74e 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -113,8 +113,8 @@ PyDoc_STRVAR(range_doc,
"xrange([start,] stop[, step]) -> xrange object\n\
\n\
Like range(), but instead of returning a list, returns an object that\n\
-generates the numbers in the range on demand. This is slightly slower\n\
-than range() but more memory efficient.");
+generates the numbers in the range on demand. For looping, this is \n\
+slightly faster than range() and more memory efficient.");
static PyObject *
range_item(rangeobject *r, int i)