summaryrefslogtreecommitdiffstats
path: root/Lib/tb.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-26 13:06:22 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-26 13:06:22 (GMT)
commitdecc4b99e136000e4f03df676ff672c0eccafd3c (patch)
tree227bfdcb058979b8d8d98b733c291d1785b2f1e7 /Lib/tb.py
parent1820010c1a6e6338b8dd927364662aa99d18b1d4 (diff)
downloadcpython-decc4b99e136000e4f03df676ff672c0eccafd3c.zip
cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.tar.gz
cpython-decc4b99e136000e4f03df676ff672c0eccafd3c.tar.bz2
Use ImportError
Diffstat (limited to 'Lib/tb.py')
-rw-r--r--Lib/tb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tb.py b/Lib/tb.py
index e0f2748..ec63104 100644
--- a/Lib/tb.py
+++ b/Lib/tb.py
@@ -5,7 +5,7 @@ import sys
try:
import mac
os = mac
-except NameError:
+except ImportError:
import posix
os = posix
from stat import *