Skip to content

Instantly share code, notes, and snippets.

@erikfrey
Created May 26, 2011 18:03
Show Gist options
  • Save erikfrey/993661 to your computer and use it in GitHub Desktop.
Save erikfrey/993661 to your computer and use it in GitHub Desktop.
>>> not None
True
>>> True is not None
True
>>> not not None
False
>>> False is not not None
File "<stdin>", line 1
False is not not None
^
SyntaxError: invalid syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment