Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #110594 > unrolled thread
| Started by | Michael Selik <michael.selik@gmail.com> |
|---|---|
| First post | 2016-06-27 15:06 +0000 |
| Last post | 2016-06-29 00:05 +0000 |
| Articles | 2 — 2 participants |
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: Language improvement: Get more from the `for .. else` clause Michael Selik <michael.selik@gmail.com> - 2016-06-27 15:06 +0000
Re: Language improvement: Get more from the `for .. else` clause Quivis <quivis@domain.invalid> - 2016-06-29 00:05 +0000
| From | Michael Selik <michael.selik@gmail.com> |
|---|---|
| Date | 2016-06-27 15:06 +0000 |
| Subject | Re: Language improvement: Get more from the `for .. else` clause |
| Message-ID | <mailman.35.1467039992.2358.python-list@python.org> |
On Mon, Jun 27, 2016 at 12:53 AM Victor Savu <victor.nicolae.savu@gmail.com> wrote: > capture the [StopIteration] value in the `else` statement of the `for` loop > I'm having trouble thinking of a case when this new feature is necessary. Can you show a more realistic example?
[toc] | [next] | [standalone]
| From | Quivis <quivis@domain.invalid> |
|---|---|
| Date | 2016-06-29 00:05 +0000 |
| Message-ID | <ahEcz.863665$z63.377396@fx42.am4> |
| In reply to | #110594 |
On Mon, 27 Jun 2016 15:06:20 +0000, Michael Selik wrote: >> capture the [StopIteration] value in the `else` statement of the `for` >> loop >> >> > I'm having trouble thinking of a case when this new feature is > necessary. > Can you show a more realistic example? I second that. It seems too murky at the moment for what it would be useful. -- _____ __ __ __ __ __ __ __ (( )) || || || \\ // || (( \\_/X| \\_// || \V/ || \_)) Omnia paratus *~*~*~*~*~*~*
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web