mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
committed by
Łukasz Langa
parent
74966bacd9
commit
32d9c8cb8f
@@ -1,5 +1,3 @@
|
||||
# Stubs for io
|
||||
|
||||
from typing import (
|
||||
List, BinaryIO, TextIO, Iterator, Union, Optional, Callable, Tuple, Any, IO, Iterable
|
||||
)
|
||||
@@ -251,4 +249,5 @@ class StringIO(TextIOWrapper):
|
||||
def getvalue(self) -> str: ...
|
||||
def __enter__(self) -> 'StringIO': ...
|
||||
|
||||
class IncrementalNewlineDecoder(codecs.IncrementalDecoder): ...
|
||||
class IncrementalNewlineDecoder(codecs.IncrementalDecoder):
|
||||
def decode(self, input: codecs._encoded, final: bool = ...) -> codecs._decoded: ...
|
||||
|
||||
Reference in New Issue
Block a user