svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86625 | eric.araujo | 2010-11-21 00:56:22 +0100 (dim., 21 nov. 2010) | 2 lines
Document index and count as part of the Sequence ABC (#9746)
........
+------------------+--------------------------------+----------+
| ``max(s)`` | largest item of *s* | |
+------------------+--------------------------------+----------+
+| ``s.index(i)`` | index of the first occurence | |
+| | of *i* in *s* | |
++------------------+--------------------------------+----------+
+| ``s.count(i)`` | total number of occurences of | |
+| | *i* in *s* | |
++------------------+--------------------------------+----------+
Sequence types also support comparisons. In particular, tuples and lists are
compared lexicographically by comparing corresponding elements. This means that