mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +08:00
add codecs.StreamRecoder attributes (#13291)
This commit is contained in:
1 parent
445858c565
commit
1f0a86ceb4
1 file changed
+2
@@ -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