diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-06-21 16:57:57 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-06-21 16:57:57 +0000 |
commit | 70a77ac23f4a3a72ca5722d1c7f85bfd852963fa (patch) | |
tree | 87abf01a3a7d8eb4dea61a4d8de7db3b804a2284 /Lib/test/test_exceptions.py | |
parent | 115ecb9211ec083494d90c88dcbca2da558d1994 (diff) | |
download | cpython-git-70a77ac23f4a3a72ca5722d1c7f85bfd852963fa.tar.gz |
At the C level, tuple arguments are passed in directly to the exception
constructor, meaning it is treated as *args, not as a single argument. This
means using the 'message' attribute won't work (until Py3K comes around),
and so one must grab from 'arg' to get the error number.
Diffstat (limited to 'Lib/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions