Minor re-wording in the exaplantion of sequence comparisons.

This closes SF bug #445749.
This commit is contained in:
Fred Drake 2001-08-01 17:17:13 +00:00
parent e74f8de385
commit 20c94913de
1 changed files with 4 additions and 3 deletions

View File

@ -2039,9 +2039,10 @@ If two items to be compared are themselves sequences of the same type,
the lexicographical comparison is carried out recursively. If all
items of two sequences compare equal, the sequences are considered
equal. If one sequence is an initial sub-sequence of the other, the
shorter sequence is the smaller one. Lexicographical ordering for
strings uses the \ASCII{} ordering for individual characters. Some
examples of comparisons between sequences with the same types:
shorter sequence is the smaller (lesser) one. Lexicographical
ordering for strings uses the \ASCII{} ordering for individual
characters. Some examples of comparisons between sequences with the
same types:
\begin{verbatim}
(1, 2, 3) < (1, 2, 4)