> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of Reedick, Andrew
> Sent: Tuesday, July 15, 2008 4:13 PM
> To: Victor Noagbodji; [email protected]
> Subject: RE: 'if name is not None:' v. 'if name:'
>
> If name:
> Then either
> a) name is an object, and that object does not have a 'false'
> value, such as False, zero, or empty.
> or
> b) name is NULL/None. No object.
Change that to:
If not name:
Then either
a) name is an object, and that object does not have a 'false'
value, such as False, zero, or empty.
or
b) name is NULL/None. No object.
--
http://mail.python.org/mailman/listinfo/python-list