mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Further improve codecs stubs (#2217)
- remove header comments - uppercase type aliases - remove old-style type annotations - unquote forward refs - reformat the file - remove values for globals - don't use private names from codecs stub in io.pyi
This commit is contained in:
@@ -263,4 +263,4 @@ class StringIO(TextIOWrapper):
|
||||
def __enter__(self) -> 'StringIO': ...
|
||||
|
||||
class IncrementalNewlineDecoder(codecs.IncrementalDecoder):
|
||||
def decode(self, input: codecs._encoded, final: bool = ...) -> codecs._decoded: ...
|
||||
def decode(self, input: bytes, final: bool = ...) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user