[Python-checkins] cpython: add ChainMap to __all__ (closes #12959)
benjamin.peterson
python-checkins at python.org
Sun Sep 11 18:55:40 CEST 2011
http://hg.python.org/cpython/rev/12bb3cd873c8
changeset: 72339:12bb3cd873c8
user: Benjamin Peterson <benjamin at python.org>
date: Sun Sep 11 12:55:34 2011 -0400
summary:
add ChainMap to __all__ (closes #12959)
Thanks July Tikhonov.
files:
Lib/collections/__init__.py | 2 +-
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/collections/__init__.py b/Lib/collections/__init__.py
--- a/Lib/collections/__init__.py
+++ b/Lib/collections/__init__.py
@@ -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.
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -274,6 +274,8 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list