On 30/06/2008, wesley chun <[EMAIL PROTECTED]> wrote:
>  (this is a completely tangential thread, but i'm curious if the
>  beginners -- not the experts -- are familiar with the difference
>  between "if obj == None" vs. "if obj is None".)

As I understand it there are no cases where obj==None and obj is None
will give different results (which is not true for == vs is in
general), so is there any practical difference?  Maybe you save a
handful of cycles?

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to