easy question on parsing python: "is not None"
Benjamin Kaplan
benjamin.kaplan at case.edu
Thu Aug 5 18:44:07 EDT 2010
On Thu, Aug 5, 2010 at 9:07 AM, wheres pythonmonks
<wherespythonmonks at gmail.com> wrote:
> Well, I am not convinced of the equivalence of not None and true:
>
>>>> not None
> True
>>>> 3 is True;
> False
>>>> 3 is not None
> True
>>>>
>
> P.S. Sorry for the top-post -- is there a way to not do top posts from
> gmail? I haven't used usenet since tin.
>
Scroll down in the email and press enter a few times.
More information about the Python-list
mailing list