Don't you just love writing this sort of thing :)
ldo at geek-central.gen.new_zealand
Fri Dec 5 11:16:08 CET 2008
In message <0148b086$0$20670$c3e8da3 at news.astraweb.com>, Steven D'Aprano
> On Fri, 05 Dec 2008 13:27:35 +1300, Lawrence D'Oliveiro wrote:
>> In message <mailman.4920.1228383577.3487.python-list at python.org>, 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.
More information about the Python-list