diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-26 22:22:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-26 22:22:47 (GMT) |
commit | 2633c69fae7e413b2b64b01d8c0c901ae649a225 (patch) | |
tree | 144a1f97f427f019a8ddaae96a8f0da6a09df985 /Lib/traceback.py | |
parent | f543348fff32ae20a9fd2c7f70a3549a3280048c (diff) | |
download | cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.zip cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.gz cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.bz2 |
Remove the exceptions builtin module, all the exceptions are already builtin.
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r-- | Lib/traceback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py index e395ad7..a0d2dcc 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -169,7 +169,7 @@ def format_exception_only(etype, value): stype = etype.__name__ smod = etype.__module__ - if smod not in ("exceptions", "__main__", "__builtin__"): + if smod not in ("__main__", "__builtin__"): stype = smod + '.' + stype if not issubclass(etype, SyntaxError): |