mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Added note and cross-reference to close sf bug 1760423.
(But can't close the bug because I don't know how.)
This commit is contained in:
parent
28bed74654
commit
4c801894ec
@ -562,6 +562,13 @@ are sequences of the same type; *n*, *i* and *j* are integers:
|
||||
| ``max(s)`` | largest item of *s* | |
|
||||
+------------------+--------------------------------+----------+
|
||||
|
||||
Sequence types also support comparisons. In particular, tuples and lists
|
||||
are compared lexicographically by comparing corresponding
|
||||
elements. This means that to compare equal, every element must compare
|
||||
equal and the two sequences must be of the same type and have the same
|
||||
length. (For full details see :ref:`comparisons` in the language
|
||||
reference.)
|
||||
|
||||
.. index::
|
||||
triple: operations on; sequence; types
|
||||
builtin: len
|
||||
|
Loading…
Reference in New Issue
Block a user