mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
In list of sequence comparison examples, "=" should be "==". Reported
by Mirko Liss <n89553@hrz.uni-paderborn.de>.
This commit is contained in:
parent
4e5a7c7056
commit
511281ac00
1 changed files with 1 additions and 1 deletions
|
|
@ -1720,7 +1720,7 @@ examples of comparisons between sequences with the same types:
|
|||
'ABC' < 'C' < 'Pascal' < 'Python'
|
||||
(1, 2, 3, 4) < (1, 2, 4)
|
||||
(1, 2) < (1, 2, -1)
|
||||
(1, 2, 3) = (1.0, 2.0, 3.0)
|
||||
(1, 2, 3) == (1.0, 2.0, 3.0)
|
||||
(1, 2, ('aa', 'ab')) < (1, 2, ('abc', 'a'), 4)
|
||||
\end{verbatim}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue