Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #13190 > unrolled thread
| Started by | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| First post | 2011-09-12 10:58 -0600 |
| Last post | 2011-09-12 10:58 -0600 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Idioms combining 'next(items)' and 'for item in items:' Ian Kelly <ian.g.kelly@gmail.com> - 2011-09-12 10:58 -0600
| From | Ian Kelly <ian.g.kelly@gmail.com> |
|---|---|
| Date | 2011-09-12 10:58 -0600 |
| Subject | Re: Idioms combining 'next(items)' and 'for item in items:' |
| Message-ID | <mailman.1041.1315847141.27778.python-list@python.org> |
On Mon, Sep 12, 2011 at 10:55 AM, Ian Kelly <ian.g.kelly@gmail.com> wrote: > But you can't write the function under the assumption that it will > only be called from the function body. The following is a slight > reorganization of your example that does exhibit the problem: s/function body/for-loop body/
Back to top | Article view | comp.lang.python
csiph-web