File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,18 +126,17 @@ range_dealloc(rangeobject *r)
126126 PyObject_Del (r );
127127}
128128
129- /* Return number of items in range (lo, hi, step), when arguments are
130- * PyInt or PyLong objects. step > 0 required. Return a value < 0 if
131- * & only if the true value is too large to fit in a signed long.
132- * Arguments MUST return 1 with either PyLong_Check() or
129+ /* Return number of items in range (lo, hi, step), when arguments are PyLong
130+ * objects. step > 0 required. Return a value < 0 if & only if the true
131+ * value is too large to fit in a signed long. Arguments MUST return 1 with
133132 * PyLong_Check(). Return -1 when there is an error.
134133 */
135134static PyObject *
136135range_length_obj (rangeobject * r )
137136{
138137 /* -------------------------------------------------------------
139138 Algorithm is equal to that of get_len_of_range(), but it operates
140- on PyObjects (which are assumed to be PyLong or PyInt objects).
139+ on PyObjects (which are assumed to be PyLong objects).
141140 ---------------------------------------------------------------*/
142141 int cmp_result ;
143142 PyObject * lo , * hi ;
You can’t perform that action at this time.
0 commit comments