Rename test_xrange.py to test_range.py and fix the
type name in various spots.
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c
index 4a45212..8cefe67 100644
--- a/Objects/rangeobject.c
+++ b/Objects/rangeobject.c
@@ -214,7 +214,7 @@
if (i < 0 || i >= len) {
if (!PyErr_Occurred())
PyErr_SetString(PyExc_IndexError,
- "xrange object index out of range");
+ "range object index out of range");
return NULL;
}
@@ -313,7 +313,7 @@
range_new, /* tp_new */
};
-/*********************** Xrange Iterator **************************/
+/*********************** range Iterator **************************/
/* There are 2 types of iterators, one for C longs, the other for
Python longs (ie, PyObjects). This should make iteration fast