Default if none

Michel Claveau - MVP enleverLesX_XXmcX at XmclavXeauX.com.invalid
Thu Apr 29 21:01:17 CEST 2010


Hi!

> print x or y or z
> If none of the potential values are considered boolean false

But :
  a=None
  b=False
  c=None
  print a or b or c
  > None



@-salutations
-- 
Michel Claveau 




More information about the Python-list mailing list