bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456) · wrongnull/cpython@d30da5d · GitHub
Skip to content

Commit d30da5d

Browse files
asottilemiss-islington
authored andcommitted
bpo-36983: Fix typing.__all__ and add test for exported names (pythonGH-13456)
https://bugs.python.org/issue36983
1 parent 34f4f5e commit d30da5d

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

Lib/test/test_typing.py

Lines changed: 24 additions & 0 deletions

Lib/typing.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
'Callable',
3636
'ClassVar',
3737
'Final',
38+
'ForwardRef',
3839
'Generic',
3940
'Literal',
4041
'Optional',
@@ -81,11 +82,13 @@
8182
'SupportsRound',
8283

8384
# Concrete collection types.
85+
'ChainMap',
8486
'Counter',
8587
'Deque',
8688
'Dict',
8789
'DefaultDict',
8890
'List',
91+
'OrderedDict',
8992
'Set',
9093
'FrozenSet',
9194
'NamedTuple', # Not really a type.
Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)