diff --git a/stdlib/codecs.pyi b/stdlib/codecs.pyi index b3c721f1e..c6f517adb 100644 --- a/stdlib/codecs.pyi +++ b/stdlib/codecs.pyi @@ -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,