add codecs.StreamRecoder attributes (#13291)

This commit is contained in:
Stephen Morton authored and GitHub committed 2024-12-23 23:14:23 -08:00
1 parent 445858c565
commit 1f0a86ceb4
1 file changed
+2
+2
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,