diff options
author | Guido van Rossum <guido@python.org> | 1991-12-26 13:06:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-12-26 13:06:22 (GMT) |
commit | decc4b99e136000e4f03df676ff672c0eccafd3c (patch) | |
tree | 227bfdcb058979b8d8d98b733c291d1785b2f1e7 /Lib/tb.py | |
parent | 1820010c1a6e6338b8dd927364662aa99d18b1d4 (diff) | |
download | cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.zip cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.tar.gz cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.tar.bz2 |
Use ImportError
Diffstat (limited to 'Lib/tb.py')
-rw-r--r-- | Lib/tb.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ import sys try: import mac os = mac -except NameError: +except ImportError: import posix os = posix from stat import * |