mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
This commit is contained in:
parent
ad9c9bb5a9
commit
f1dc3ee16d
7 changed files with 14 additions and 6 deletions
|
@ -631,7 +631,7 @@ def get_exec_path(env=None):
|
|||
|
||||
|
||||
# Change environ to automatically call putenv(), unsetenv if they exist.
|
||||
from collections.abc import MutableMapping
|
||||
from _collections_abc import MutableMapping
|
||||
|
||||
class _Environ(MutableMapping):
|
||||
def __init__(self, data, encodekey, decodekey, encodevalue, decodevalue, putenv, unsetenv):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue