add codecs.StreamRecoder attributes (#13291)

This commit is contained in:
Stephen Morton
2024-12-23 23:14:23 -08:00
committed by GitHub
parent 445858c565
commit 1f0a86ceb4

View File

@@ -254,6 +254,8 @@ class StreamReaderWriter(TextIO):
def writable(self) -> bool: ...
class StreamRecoder(BinaryIO):
data_encoding: str
file_encoding: str
def __init__(
self,
stream: _Stream,