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:
mark.summerfield 2007-08-03 11:22:32 +00:00
parent 28bed74654
commit 4c801894ec

View File

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