bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456)

https://bugs.python.org/issue36983
This commit is contained in:
Anthony Sottile 2019-05-29 11:19:38 -07:00 committed by Miss Islington (bot)
parent 34f4f5efea
commit d30da5dd9a
3 changed files with 29 additions and 0 deletions

View file

@ -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.