diff options
author | Sebastian Rittau <srittau@rittau.biz> | 2025-03-06 15:36:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-06 15:36:19 (GMT) |
commit | c6dd2348ca61436fc1444ecc0343cb24932f6fa7 (patch) | |
tree | 549d12e443ddcdd38425e26ac8896b8ab5780006 /Lib/typing.py | |
parent | 9c691500f9412ecd8f6221c20984dc7a55a8a9e8 (diff) | |
download | cpython-c6dd2348ca61436fc1444ecc0343cb24932f6fa7.zip cpython-c6dd2348ca61436fc1444ecc0343cb24932f6fa7.tar.gz cpython-c6dd2348ca61436fc1444ecc0343cb24932f6fa7.tar.bz2 |
gh-127647: Add typing.Reader and Writer protocols (#127648)
Diffstat (limited to 'Lib/typing.py')
-rw-r--r-- | Lib/typing.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/typing.py b/Lib/typing.py index 1dd1154..9621155 100644 --- a/Lib/typing.py +++ b/Lib/typing.py @@ -1876,6 +1876,7 @@ _PROTO_ALLOWLIST = { 'Reversible', 'Buffer', ], 'contextlib': ['AbstractContextManager', 'AbstractAsyncContextManager'], + 'io': ['Reader', 'Writer'], 'os': ['PathLike'], } |