@@ -105,8 +105,8 @@ \subsection{Comparisons \label{comparisons}}
105105 \lineiii {>}{strictly greater than}{}
106106 \lineiii {>=}{greater than or equal}{}
107107 \lineiii {==}{equal}{}
108- \lineiii {<>}{not equal}{(1)}
109108 \lineiii {!=}{not equal}{(1)}
109+ \lineiii {<>}{not equal}{(1)}
110110 \lineiii {is}{object identity}{}
111111 \lineiii {is not}{negated object identity}{}
112112\end {tableiii }
@@ -313,7 +313,7 @@ \subsubsection{Bit-string Operations on Integer Types \label{bitstring-ops}}
313313\subsection {Sequence Types \label {typesseq } }
314314
315315There are six sequence types: strings, Unicode strings, lists,
316- tuples, buffers, and ranges .
316+ tuples, buffers, and xrange objects .
317317
318318Strings literals are written in single or double quotes:
319319\code {'xyzzy'}, \code {"frobozz"}. See chapter 2 of the
@@ -327,16 +327,17 @@ \subsection{Sequence Types \label{typesseq}}
327327enclosing parentheses, e.g., \code {a, b, c} or \code {()}. A single
328328item tuple must have a trailing comma, e.g., \code {(d,)}. Buffers are
329329not directly support by Python syntax, but can created by calling the
330- builtin function \function {buffer()}.\bifuncindex {buffer} Ranges are
331- similar to buffers in that there is no specific syntax to create them,
332- but they are created using the \function {xrange()}
330+ builtin function \function {buffer()}.\bifuncindex {buffer} XRanges
331+ objects are similar to buffers in that there is no specific syntax to
332+ create them, but they are created using the \function {xrange()}
333333function.\bifuncindex {xrange}
334334\indexii {sequence}{types}
335335\indexii {string}{type}
336336\indexii {Unicode}{type}
337337\indexii {buffer}{type}
338338\indexii {tuple}{type}
339339\indexii {list}{type}
340+ \indexii {xrange}{type}
340341
341342Sequence types support the following operations. The \samp {in} and
342343\samp {not in} operations have the same priorities as the comparison
@@ -638,18 +639,18 @@ \subsubsection{String Formatting Operations \label{typesseq-strings}}
638639\refstmodindex {re}
639640
640641
641- \subsubsection {Range Type \label {typesseq-range } }
642+ \subsubsection {XRange Type \label {typesseq-xrange } }
642643
643- The range \indexii {range }{type} type is an immutable sequence which is
644- commonly used for looping. The advantage of the range type is that a
645- range object will always take the same amount of memory, no matter the
644+ The xrange \indexii {xrange }{type} type is an immutable sequence which is
645+ commonly used for looping. The advantage of the xrange type is that an
646+ xrange object will always take the same amount of memory, no matter the
646647size of the range it represents. There are no consistent performance
647648advantages.
648649
649- Range objects behave like tuples, and offer a single method:
650+ XRange objects behave like tuples, and offer a single method:
650651
651- \begin {methoddesc }[range ]{tolist}{}
652- Return a list object which represents the same values as the range
652+ \begin {methoddesc }[xrange ]{tolist}{}
653+ Return a list object which represents the same values as the xrange
653654 object.
654655\end {methoddesc }
655656
@@ -1112,8 +1113,8 @@ \subsubsection{File Objects\obindex{file}
11121113\subsubsection {Internal Objects \label {typesinternal } }
11131114
11141115See the \citetitle [../ref/ref.html]{Python Reference Manual } for this
1115- information. It describes code objects, stack frame objects,
1116- traceback objects, and slice objects.
1116+ information. It describes stack frame objects, traceback objects, and
1117+ slice objects.
11171118
11181119
11191120\subsection {Special Attributes \label {specialattrs } }
0 commit comments