python snippet du jour

Martin Pool mbp at canonical.com
Wed Dec 16 08:40:27 GMT 2009


2009/12/16 Ben Finney <ben+bazaar at benfinney.id.au>:
> Whoops. That's not how to catch multiple exception types
> <URL:http://docs.python.org/tutorial/errors.html#handling-exceptions>,
> but it's a common mistake, and for that reason it iss invalid in Python
> 3 <URL:http://docs.python.org/3.1/reference/compound_stmts.html#except>.

spoiler. :]

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list