mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Simplify and remove few dependencies on 'errno', thanks to PEP 3151.
This commit is contained in:
parent
908ae24b06
commit
68f71a34f4
5 changed files with 28 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue