#1535: rename __builtin__ module to builtins.

This commit is contained in:
Georg Brandl 2007-12-02 09:40:06 +00:00
parent 87f9c53937
commit 1a3284ed69
70 changed files with 246 additions and 247 deletions

View file

@ -168,7 +168,7 @@ def format_exception_only(etype, value):
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):