Checking against NULL will be eliminated?

Jean-Michel Pichavant jeanmichel at sequans.com
Thu Mar 3 05:07:45 EST 2011


Steven Howe wrote:
>
> If an item is None: if ( type(x) == types.NoneType ):
>
Bye the way, the beauty of python is that "If an item is None" 
translates into "If item is None".

JM





More information about the Python-list mailing list