Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81844

Re: Proposed new conditional operator: "or else"

From Sturla Molden <sturla.molden@gmail.com>
Subject Re: Proposed new conditional operator: "or else"
Date 2014-12-03 07:29 +0000
References <C2BEED98-4CCA-4EDE-8FDF-F235B478055C@panix.com> <1o2t7a5rt5j35lm8e5ad2811cpoupbs22f@4ax.com>
Newsgroups comp.lang.python
Message-ID <mailman.16519.1417591790.18130.python-list@python.org> (permalink)

Show all headers | View raw


Dennis Lee Bieber <wlfraed@ix.netcom.com> wrote:

>>   foo == 42 or else
>> 
> 
> 	Has a PERL stink to it... like: foo == 42 or die

I think this statement needs to take ellipsis as well

foo == 42 or else ...




Sturls

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Proposed new conditional operator: "or else" Sturla Molden <sturla.molden@gmail.com> - 2014-12-03 07:29 +0000

csiph-web