mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456)
https://bugs.python.org/issue36983
This commit is contained in:
parent
34f4f5efea
commit
d30da5dd9a
3 changed files with 29 additions and 0 deletions
|
@ -35,6 +35,7 @@ __all__ = [
|
|||
'Callable',
|
||||
'ClassVar',
|
||||
'Final',
|
||||
'ForwardRef',
|
||||
'Generic',
|
||||
'Literal',
|
||||
'Optional',
|
||||
|
@ -81,11 +82,13 @@ __all__ = [
|
|||
'SupportsRound',
|
||||
|
||||
# Concrete collection types.
|
||||
'ChainMap',
|
||||
'Counter',
|
||||
'Deque',
|
||||
'Dict',
|
||||
'DefaultDict',
|
||||
'List',
|
||||
'OrderedDict',
|
||||
'Set',
|
||||
'FrozenSet',
|
||||
'NamedTuple', # Not really a type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue