diff options
author | Christian Heimes <christian@cheimes.de> | 2013-10-13 00:04:20 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-10-13 00:04:20 (GMT) |
commit | f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500 (patch) | |
tree | f29fbbb86d3b40e738c2ab220d0a27cacf66d383 /Lib/collections/__init__.py | |
parent | ad9c9bb5a93fe922dd5768ab4e84eed96d72083c (diff) | |
download | cpython-f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500.zip cpython-f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500.tar.gz cpython-f1dc3ee16dbc81d7f91fd844c5dfcb0fd1a06500.tar.bz2 |
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
Diffstat (limited to 'Lib/collections/__init__.py')
-rw-r--r-- | Lib/collections/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py index 0f19f30..02bdc57 100644 --- a/Lib/collections/__init__.py +++ b/Lib/collections/__init__.py @@ -3,9 +3,9 @@ __all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList', # For backwards compatibility, continue to make the collections ABCs # available through the collections module. -from collections.abc import * -import collections.abc -__all__ += collections.abc.__all__ +from _collections_abc import * +import _collections_abc +__all__ += _collections_abc.__all__ from _collections import deque, defaultdict from operator import itemgetter as _itemgetter, eq as _eq |