mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 21:31:09 +08:00
add codecs.StreamRecoder attributes (#13291)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user