Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c92f622

Browse files
committed
add ChainMap to __all__ (closes #12959)
Thanks July Tikhonov.
1 parent d964ee9 commit c92f622

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lib/collections/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList',
2-
'UserString', 'Counter', 'OrderedDict']
2+
'UserString', 'Counter', 'OrderedDict', 'ChainMap']
33

44
# For backwards compatibility, continue to make the collections ABCs
55
# available through the collections module.

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,8 @@ Core and Builtins
274274
Library
275275
-------
276276

277+
- Issue #12959: Add collections.ChainMap to collections.__all__.
278+
277279
- Issue #12567: Add curses.unget_wch() function. Push a character so the next
278280
get_wch() will return it.
279281

0 commit comments

Comments
 (0)