"is" and "=="

Thomas Wouters thomas at xs4all.net
Tue Mar 11 18:50:58 CET 2003

On Tue, Mar 11, 2003 at 11:41:51AM -0600, John Hunter wrote:

> >>>>> "Thomas" == Thomas Wouters <thomas at xs4all.net> writes:
>     Thomas> There are very few uses of 'is' in normal user code...
>     Thomas> (much like 'from module import *' :)

> What about 
> if x is None: do_something()
> I use that all the time.

Yes, it is one use, and one is 'very few'...

or-is-that-=='ly y'rs,
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!

More information about the Python-list mailing list