Message161241
| Author |
terry.reedy |
| Recipients |
docs@python, eric.araujo, nadeem.vawda, rhettinger, terry.reedy |
| Date |
2012年05月20日.23:53:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337558008.65.0.305583666756.issue14836@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Raymond, I pretty much agree with your points and would be happy either with rejection or one simple sentence. This idiom really belongs in a hypothetical how-to, such as 'Python iterators and generators'. The real use case for it=iter() followed by next(it) it to treat the first item of a collection specially before scanning the rest in a for loop. |
|