mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
gh-127647: Add typing.Reader and Writer protocols (#127648)
This commit is contained in:
parent
9c691500f9
commit
c6dd2348ca
9 changed files with 192 additions and 9 deletions
|
|
@ -1876,6 +1876,7 @@ _PROTO_ALLOWLIST = {
|
|||
'Reversible', 'Buffer',
|
||||
],
|
||||
'contextlib': ['AbstractContextManager', 'AbstractAsyncContextManager'],
|
||||
'io': ['Reader', 'Writer'],
|
||||
'os': ['PathLike'],
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue