Use ImportError.

This commit is contained in:
Guido van Rossum 1991-12-26 13:05:14 +00:00
parent 61f9d0d242
commit aa3760d91d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
import posix import posix
os = posix os = posix
import path import path
except NameError: except ImportError:
import mac import mac
os = mac os = mac
import macpath import macpath