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

This commit is contained in:
Brett Cannon 2008-05-12 00:56:28 +00:00
parent a795790b3a
commit 23a4a7b5a1
3 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,5 @@
__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 *

View File

@ -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")

View File

@ -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.