diff options
author | Fred Drake <fdrake@acm.org> | 2001-08-01 17:17:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-08-01 17:17:13 (GMT) |
commit | 20c94913de538bfa88378670f43f127b042851cf (patch) | |
tree | db4760070903f3551eee1c5ddfd4c31d94e62f14 | |
parent | e74f8de385564db1893f658008d23d36a060d79d (diff) | |
download | cpython-20c94913de538bfa88378670f43f127b042851cf.zip cpython-20c94913de538bfa88378670f43f127b042851cf.tar.gz cpython-20c94913de538bfa88378670f43f127b042851cf.tar.bz2 |
Minor re-wording in the exaplantion of sequence comparisons.
This closes SF bug #445749.
-rw-r--r-- | Doc/tut/tut.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index 9ce0ac8..2a084ff 100644 --- a/Doc/tut/tut.tex +++ b/Doc/tut/tut.tex @@ -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) |