diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-05-29 18:19:38 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-29 18:19:37 (GMT) |
commit | d30da5dd9a8a965cf24a22bbaff8a5b1341c2944 (patch) | |
tree | 649889ec87b9d2f6cf01bafecfa35b625eda1a50 /Lib/typing.py | |
parent | 34f4f5efea730504216ee19f237734e0bb0104ee (diff) | |
download | cpython-d30da5dd9a8a965cf24a22bbaff8a5b1341c2944.zip cpython-d30da5dd9a8a965cf24a22bbaff8a5b1341c2944.tar.gz cpython-d30da5dd9a8a965cf24a22bbaff8a5b1341c2944.tar.bz2 |
bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456)
https://bugs.python.org/issue36983
Diffstat (limited to 'Lib/typing.py')
-rw-r--r-- | Lib/typing.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/typing.py b/Lib/typing.py index 14bd06b..3b4e9df 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -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. |