diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-10-28 14:06:23 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-10-28 14:06:23 (GMT) |
commit | 68f71a34f4a799276a50f4001fb0a0ebe2d46992 (patch) | |
tree | 5b7a409891bb7d4a1c1750b9f97b13a7d1e392e2 /Lib/importlib/__init__.py | |
parent | 908ae24b066b04651701d5ee5e5d80cfb5d6b018 (diff) | |
download | cpython-68f71a34f4a799276a50f4001fb0a0ebe2d46992.zip cpython-68f71a34f4a799276a50f4001fb0a0ebe2d46992.tar.gz cpython-68f71a34f4a799276a50f4001fb0a0ebe2d46992.tar.bz2 |
Simplify and remove few dependencies on 'errno', thanks to PEP 3151.
Diffstat (limited to 'Lib/importlib/__init__.py')
-rw-r--r-- | Lib/importlib/__init__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/importlib/__init__.py b/Lib/importlib/__init__.py index 2baaf93..9b20367 100644 --- a/Lib/importlib/__init__.py +++ b/Lib/importlib/__init__.py @@ -81,11 +81,10 @@ except ImportError: except ImportError: raise ImportError('posix, nt, or os2 module required for importlib') _bootstrap._os = _os -import imp, sys, marshal, errno, _io +import imp, sys, marshal, _io _bootstrap.imp = imp _bootstrap.sys = sys _bootstrap.marshal = marshal -_bootstrap.errno = errno _bootstrap._io = _io import _warnings _bootstrap._warnings = _warnings |