In message <[EMAIL PROTECTED]>, Steven D'Aprano wrote: > On Fri, 05 Dec 2008 13:27:35 +1300, Lawrence D'Oliveiro wrote: > >> In message <[EMAIL PROTECTED]>, Cong >> Ma wrote: >> >>> The "if ... != None" is not necessary... "if PatchDatePat.search(f)" >>> is OK. >> >> I don't do that. > > Perhaps you should?
I prefer using explicitly Boolean values for conditions. -- http://mail.python.org/mailman/listinfo/python-list