This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年06月11日 18:46 by Matthew.Jones, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg220298 - (view) | Author: Matt.Jones (Matthew.Jones) | Date: 2014年06月11日 18:46 | |
https://docs.python.org/3.5/library/itertools.html#itertools.cycle The first sentence sounds a bit ambiguous: "Make an iterator returning elements from the iterable and saving a copy of each." Suggestion: "Make an iterator that returns elements from the iterable and saves a copy of each." |
|||
| msg220333 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2014年06月12日 05:16 | |
I see no real difference here and AFAICT the current wording has not caused any confusion since it was written a decade ago. |
|||
| msg220348 - (view) | Author: Matt.Jones (Matthew.Jones) | Date: 2014年06月12日 13:19 | |
It's probably just me then. The code example is what helped me grasp `cycle`, not the explanation. |
|||
| msg220378 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2014年06月12日 20:04 | |
That's why the code example is there ;-) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:04 | admin | set | github: 65926 |
| 2014年06月12日 20:04:18 | rhettinger | set | status: open -> closed resolution: not a bug messages: + msg220378 |
| 2014年06月12日 13:19:12 | Matthew.Jones | set | messages: + msg220348 |
| 2014年06月12日 05:16:23 | rhettinger | set | priority: normal -> low assignee: docs@python -> rhettinger messages: + msg220333 |
| 2014年06月11日 18:56:04 | zach.ware | set | nosy:
+ rhettinger versions: - Python 3.1, Python 3.2, Python 3.3 |
| 2014年06月11日 18:46:30 | Matthew.Jones | create | |