mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
The __all__ value for 'collections' was missing UserList and UserString.
This commit is contained in:
parent
a795790b3a
commit
23a4a7b5a1
3 changed files with 5 additions and 1 deletions
|
@ -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 *
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -21,6 +21,8 @@ Extension Modules
|
|||
Library
|
||||
-------
|
||||
|
||||
- Fix the __all__ setting on 'collections' to include UserList and UserString.
|
||||
|
||||
- The sre module has been removed.
|
||||
|
||||
- The Queue module has been renamed to queue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue