mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 18:42:41 +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:
1 parent
978c0913c8
commit
6bbf3d89eb
2 files changed
+115
-170
No files matched your search
+1
-1
@@ -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