diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-12 00:56:28 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-12 00:56:28 (GMT) |
commit | 23a4a7b5a129c18e20e11e48983c2d29ea7728aa (patch) | |
tree | 3ef406bb479a819a944c576a75ab761dc545df3d /Lib | |
parent | a795790b3a9f135c3599ea622ee8c415ae1cc476 (diff) | |
download | cpython-23a4a7b5a129c18e20e11e48983c2d29ea7728aa.zip cpython-23a4a7b5a129c18e20e11e48983c2d29ea7728aa.tar.gz cpython-23a4a7b5a129c18e20e11e48983c2d29ea7728aa.tar.bz2 |
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 dafc5e5..f746145 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 3ba23de..57d89e0 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") |