mirror of https://github.com/python/cpython
The __all__ value for 'collections' was missing UserList and UserString.
This commit is contained in:
parent
a795790b3a
commit
23a4a7b5a1
|
@ -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 *
|
||||||
|
|
|
@ -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
|
||||||
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.
|
||||||
|
|
Loading…
Reference in New Issue