How to do this in Python...

Chad Netzer cnetzer at mail.arc.nasa.gov
Fri Jan 24 02:02:10 CET 2003


On Thursday 23 January 2003 16:27, Tim Peters wrote:

> > Can a match object ever test as false?
>
> Nope, and
>
>     if match:
>
> is idiomatic in this context.

Fair enough. :)

-- 
Bay Area Python Interest Group - http://www.baypiggies.net/

Chad Netzer






More information about the Python-list mailing list