Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #110594
| From | Michael Selik <michael.selik@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Language improvement: Get more from the `for .. else` clause |
| Date | 2016-06-27 15:06 +0000 |
| Message-ID | <mailman.35.1467039992.2358.python-list@python.org> (permalink) |
| References | <CAGtOLTfKid2EtrfKyKq9kA6205D7E5j7fAMcVfALuh6RFw4xyA@mail.gmail.com> <CAGgTfkOgOc4jrfA5-5ufRtfQECO0pDcPW7MxXRW4nx0uaq8Hng@mail.gmail.com> |
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?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web