]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
add ChainMap to __all__ (closes #12959)
authorBenjamin Peterson <benjamin@python.org>
Sun, 11 Sep 2011 16:55:34 +0000 (12:55 -0400)
committerBenjamin Peterson <benjamin@python.org>
Sun, 11 Sep 2011 16:55:34 +0000 (12:55 -0400)
Thanks July Tikhonov.

Lib/collections/__init__.py
Misc/NEWS

index 2007e6881699a2b93b3f8c3704728b17d4218b59..e5e027700a4cfe8ccb8dc6b944bdc2cd4317b795 100644 (file)
@@ -1,5 +1,5 @@
 __all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList',
-            'UserString', 'Counter', 'OrderedDict']
+            'UserString', 'Counter', 'OrderedDict', 'ChainMap']
 
 # For backwards compatibility, continue to make the collections ABCs
 # available through the collections module.
index ef12cfda024da12f30f92cf65ba1e9f86fa8c25f..d94f33c73fe0bf8abf004d3b27dda4eb45318cee 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -274,6 +274,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #12959: Add collections.ChainMap to collections.__all__.
+
 - Issue #12567: Add curses.unget_wch() function. Push a character so the next
   get_wch() will return it.