commit | 1a3284ed69d545e4ef59869998cb8c29233a45fa | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Dec 02 09:40:06 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Dec 02 09:40:06 2007 +0000 |
tree | 98728a9b7aae6188ee8124160007a9d5c5277f8c | |
parent | 87f9c53937ce47f55851ac7c71a94e46cf9142bf [diff] [blame] |
#1535: rename __builtin__ module to builtins.
diff --git a/Lib/traceback.py b/Lib/traceback.py index 11ece25..0c01ac3 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py
@@ -168,7 +168,7 @@ stype = etype.__name__ smod = etype.__module__ - if smod not in ("__main__", "__builtin__"): + if smod not in ("__main__", "builtins"): stype = smod + '.' + stype if not issubclass(etype, SyntaxError):