On Wed, Dec 11, 2013 at 9:26 PM, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
>         except SystemExit, exc:

For new code, you'd of course want to write that as:

except SystemExit as exc:

which is compatible with Python 2.6, 2.7, and 3.x, while the other
syntax is 2.x only.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to