diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-26 22:22:47 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-02-26 22:22:47 +0000 |
commit | 6bd76333236905f873395513276f5480f34fe883 (patch) | |
tree | ed1563da12a9895965889370349f951341b26019 /Lib/traceback.py | |
parent | 9764eb6a26325ec098cf1df8afb687084bed8bb7 (diff) | |
download | cpython-6bd76333236905f873395513276f5480f34fe883.tar.gz |
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 e395ad77d6..a0d2dcc732 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): |