Skip to content

Commit 14e3ebe

Browse files
committed
Add selectors module from CPython 3.6
1 parent 6626283 commit 14e3ebe

File tree

2 files changed

+616
-0
lines changed

2 files changed

+616
-0
lines changed

Lib/collections/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
__all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList',
1818
'UserString', 'Counter', 'OrderedDict', 'ChainMap']
1919

20+
# For backwards compatibility, continue to make the collections ABCs
21+
# available through the collections module.
22+
from _collections_abc import *
2023
import _collections_abc
24+
__all__ += _collections_abc.__all__
25+
2126
from operator import itemgetter as _itemgetter, eq as _eq
2227
from keyword import iskeyword as _iskeyword
2328
import sys as _sys

0 commit comments

Comments
 (0)