mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
bpo-38352: Add to typing.__all__ (GH-25821) (#25884)
This adds IO, TextIO, BinaryIO, Match, and Pattern.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit b115579734
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
2046fb35e4
commit
e1bcc88a50
2 changed files with 9 additions and 0 deletions
|
@ -99,6 +99,13 @@ __all__ = [
|
|||
'NamedTuple', # Not really a type.
|
||||
'TypedDict', # Not really a type.
|
||||
'Generator',
|
||||
|
||||
# Other concrete types.
|
||||
'BinaryIO',
|
||||
'IO',
|
||||
'Match',
|
||||
'Pattern',
|
||||
'TextIO',
|
||||
|
||||
# One-off things.
|
||||
'AnyStr',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue