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/_pyio.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/_pyio.py')
-rw-r--r-- | Lib/_pyio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index f7370df..e915e5b 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -16,7 +16,7 @@ else: _setmode = None import io -from io import (__all__, SEEK_SET, SEEK_CUR, SEEK_END) # noqa: F401 +from io import (__all__, SEEK_SET, SEEK_CUR, SEEK_END, Reader, Writer) # noqa: F401 valid_seek_flags = {0, 1, 2} # Hardwired values if hasattr(os, 'SEEK_HOLE') : |