Byestring removal for 3.14 (#12490)

This commit is contained in:
Max Muoto authored and GitHub committed 2024-08-06 07:16:49 -07:00
1 parent 3c7ffb1cc3
commit 8a7f09e351
2 files changed
+8 -4

No files matched your search

+2 -1
View File
@@ -846,7 +846,8 @@ class TextIO(IO[str]):
@abstractmethod
def __enter__(self) -> TextIO: ...
ByteString: typing_extensions.TypeAlias = bytes | bytearray | memoryview
if sys.version_info < (3, 14):
ByteString: typing_extensions.TypeAlias = bytes | bytearray | memoryview
# Functions