Commit 23a4a7b5 authored by Brett Cannon's avatar Brett Cannon

The __all__ value for 'collections' was missing UserList and UserString.

parent a795790b
__all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict'] __all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList',
'UserString']
# For bootstrapping reasons, the collection ABCs are defined in _abcoll.py. # For bootstrapping reasons, the collection ABCs are defined in _abcoll.py.
# They should however be considered an integral part of collections.py. # They should however be considered an integral part of collections.py.
from _abcoll import * from _abcoll import *
......
...@@ -44,6 +44,7 @@ class AllTest(unittest.TestCase): ...@@ -44,6 +44,7 @@ class AllTest(unittest.TestCase):
self.check_all("bdb") self.check_all("bdb")
self.check_all("binhex") self.check_all("binhex")
self.check_all("calendar") self.check_all("calendar")
self.check_all("collections")
self.check_all("cgi") self.check_all("cgi")
self.check_all("cmd") self.check_all("cmd")
self.check_all("code") self.check_all("code")
......
...@@ -21,6 +21,8 @@ Extension Modules ...@@ -21,6 +21,8 @@ Extension Modules
Library Library
------- -------
- Fix the __all__ setting on 'collections' to include UserList and UserString.
- The sre module has been removed. - The sre module has been removed.
- The Queue module has been renamed to queue. - The Queue module has been renamed to queue.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment