[Python-Dev] Py3k: Except clause syntax (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 17 01:47:16 CET 2006
- Previous message: [Python-Dev] Py3k: Except clause syntax
- Next message: [Python-Dev] Py3k: Except clause syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Baptiste Carvello wrote:
what about
except with : a program dies "with" an error message, not "as" an error message.
No. The exception object you're catching is the value, not something which has a value. I maintain that "as" is the correct word to use here.
Greg
- Previous message: [Python-Dev] Py3k: Except clause syntax
- Next message: [Python-Dev] Py3k: Except clause syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]