Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79028
| References | <loom.20141012T190458-947@post.gmane.org> <6l7m3apud9b3jg4pid3p9rpvuun699m3gl@4ax.com> |
|---|---|
| Date | 2014-10-13 11:51 +1100 |
| Subject | Re: while loop - multiple condition |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14808.1413161465.18130.python-list@python.org> (permalink) |
On Mon, Oct 13, 2014 at 11:43 AM, Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote: > ONE: Python uses short circuit evaluation: for an OR, the second clause > is only looked at if the first clause is FALSE (for an AND, the first > clause has to be TRUE before the second is evaluated). Short-circuiting doesn't actually matter here, incidentally. It could be eagerly evaluated and nothing would be different. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: while loop - multiple condition Chris Angelico <rosuav@gmail.com> - 2014-10-13 11:51 +1100
csiph-web