Message230409
| Author |
terry.reedy |
| Recipients |
docs@python, ethan.furman, ezio.melotti, georg.brandl, r.david.murray, terry.reedy, vy0123 |
| Date |
2014年10月31日.23:00:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1414796411.74.0.291234573162.issue22725@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The first argument of enumerate is 'iterable' in the 2.7 docstring also.
"enumerate(iterable[, start]) -> iterator for index, value of iterable
Return an enumerate object. iterable must be another object that supportsniteration. The enumerate object yields pairs containing a count (from\nstart, which defaults to zero) and a value yielded by the iterable argument. enumerate is useful for obtaining an indexed list: (0, seq[0]), (1, seq[1]), (2, seq[2]), ..."
We should update at least that part of the doc entry. |
|