On 31/03/14 19:28, Abe wrote:
I couldn't see anyone else give this, but I like
if None not in (a, b):
I did.

I am now considering:
if None not in (a,b):
or
if (a is not None) and (b is not None):
That's just

if not (a is None or b is None):

but you seem to have found your way.
However, I decided to just turn the two parameters into one (sequence), since 
they were logically grouped anyhow.



--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to