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


Groups > comp.lang.python > #21630

Re: Style question (Poll)

References <CANm61jcTZNVJAbkj2ZGJ+X1-mUZOoXsR90VstC4rb8UOo1x8Ug@mail.gmail.com> <CAJ6cK1b4Kop1uvEKLXUV3qBZkAajf+g-+i3pTksUVHxazy5EFg@mail.gmail.com> <jjr1qq$ji9$1@dough.gmane.org> <5B80DD153D7D744689F57F4FB69AF474026A5ECE@SBECMX008.exchad.jpmchase.net>
Date 2012-03-14 22:30 +0000
Subject Re: Style question (Poll)
From Arnaud Delobelle <arnodel@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.656.1331764204.3037.python-list@python.org> (permalink)

Show all headers | View raw


On 14 March 2012 22:15, Prasad, Ramit <ramit.prasad@jpmorgan.com> wrote:
> Only use 'is' if you are looking for objects like True,
> False, None or something that MUST be exactly the same object.

I've rarely seen valid uses of 'is True' or 'is False'.

-- 
Arnaud

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


Thread

Re: Style question (Poll) Arnaud Delobelle <arnodel@gmail.com> - 2012-03-14 22:30 +0000

csiph-web