diff options
author | Raymond Hettinger <python@rcn.com> | 2011-02-22 00:41:50 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-02-22 00:41:50 (GMT) |
commit | 158c9c26fca16dee2f7a8d89707cf9c149bd04f2 (patch) | |
tree | 0d2dc227cb3abcf338e4dd4883fe5469f7c10d4e /Lib/os.py | |
parent | ecc26923cd8a0a3511e1fb89b4b13d74a1391b87 (diff) | |
download | cpython-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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |