summaryrefslogtreecommitdiffstats
path: root/Lib/os.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-02-22 00:41:50 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-02-22 00:41:50 (GMT)
commit158c9c26fca16dee2f7a8d89707cf9c149bd04f2 (patch)
tree0d2dc227cb3abcf338e4dd4883fe5469f7c10d4e /Lib/os.py
parentecc26923cd8a0a3511e1fb89b4b13d74a1391b87 (diff)
downloadcpython-158c9c26fca16dee2f7a8d89707cf9c149bd04f2.zip
cpython-158c9c26fca16dee2f7a8d89707cf9c149bd04f2.tar.gz
cpython-158c9c26fca16dee2f7a8d89707cf9c149bd04f2.tar.bz2
Issue #11085: Moved collections abstract base classes into a separate module
called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.
Diffstat (limited to 'Lib/os.py')
-rw-r--r--Lib/os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/os.py b/Lib/os.py
index 3ef3db8..9720479 100644
--- a/Lib/os.py
+++ b/Lib/os.py
@@ -434,7 +434,7 @@ def get_exec_path(env=None):
# Change environ to automatically call putenv(), unsetenv if they exist.
-from _abcoll import MutableMapping # Can't use collections (bootstrap)
+from collections.abc import MutableMapping
class _Environ(MutableMapping):
def __init__(self, data, encodekey, decodekey, encodevalue, decodevalue, putenv, unsetenv):