checking if two things do not equal None

contact.trigon at gmail.com contact.trigon at gmail.com
Sat Mar 29 14:56:50 EDT 2014


if (a, b) != (None, None):
or
if a != None != b:

Preference? Pros? Cons? Alternatives?

:D



More information about the Python-list mailing list