mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Fix StringIO stub for Python 3 (#1275)
This commit is contained in:
committed by
Matthias Kramm
parent
4ab29832a2
commit
c19e266dcf
@@ -255,5 +255,6 @@ class StringIO(TextIOWrapper):
|
||||
newline: Optional[str] = ...) -> None: ...
|
||||
name = ... # type: str
|
||||
def getvalue(self) -> str: ...
|
||||
def __enter__(self) -> 'StringIO': ...
|
||||
|
||||
class IncrementalNewlineDecoder(codecs.IncrementalDecoder): ...
|
||||
|
||||
Reference in New Issue
Block a user