diff options
| author | Brett Cannon <bcannon@gmail.com> | 2008-05-12 00:56:28 +0000 | 
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2008-05-12 00:56:28 +0000 | 
| commit | 23a4a7b5a129c18e20e11e48983c2d29ea7728aa (patch) | |
| tree | 3ef406bb479a819a944c576a75ab761dc545df3d /Lib | |
| parent | a795790b3a9f135c3599ea622ee8c415ae1cc476 (diff) | |
| download | cpython-git-23a4a7b5a129c18e20e11e48983c2d29ea7728aa.tar.gz | |
The __all__ value for 'collections' was missing UserList and UserString.
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/collections.py | 3 | ||||
| -rw-r--r-- | Lib/test/test___all__.py | 1 | 
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py index dafc5e5746..f74614534b 100644 --- a/Lib/collections.py +++ b/Lib/collections.py @@ -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.  # They should however be considered an integral part of collections.py.  from _abcoll import * diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 3ba23dea2b..57d89e025c 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -44,6 +44,7 @@ class AllTest(unittest.TestCase):          self.check_all("bdb")          self.check_all("binhex")          self.check_all("calendar") +        self.check_all("collections")          self.check_all("cgi")          self.check_all("cmd")          self.check_all("code")  | 
