[docs] Notation in 2.7 Library, Sec 5.6 Sequence Types
Bruce Esrig
esrig-ia at esrig.com
Thu Mar 6 13:41:04 CET 2014
In the table explaining sequence types, the following two rows appear at
the end.
s.index(i) index of the first occurrence of *i* in *s* s.count(i) total
number of occurrences of *i* in *s*
Conventionally, i is an index. An x is used to indicate an element.
I would suggest
s.index(x) index of the first occurrence of *x* in *s* s.count(x) total
number of occurrences of *x* in *s*
Best wishes,
Bruce Esrig
Madison, NJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20140306/cc53e3b2/attachment.html>
More information about the docs
mailing list