Commits

mark.summerfield  committed ee6d383

Added note and cross-reference to close sf bug 1760423.
(But can't close the bug because I don't know how.)

  • Participants
  • Parent commits 776a013

Comments (0)

Files changed (1)

File Doc-26/library/stdtypes.rst

 | ``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