massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / encodings / utf_8.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/encodings/utf_8.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/encodings/utf_8.pyi
new file mode 100644 (file)
index 0000000..568fa60
--- /dev/null
@@ -0,0 +1,20 @@
+import codecs
+
+class IncrementalEncoder(codecs.IncrementalEncoder):
+    def encode(self, input: str, final: bool = ...) -> bytes: ...
+
+class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
+    @staticmethod
+    def _buffer_decode(__data: bytes, __errors: str | None = ..., __final: bool = ...) -> tuple[str, int]: ...
+
+class StreamWriter(codecs.StreamWriter):
+    @staticmethod
+    def encode(__str: str, __errors: str | None = ...) -> tuple[bytes, int]: ...
+
+class StreamReader(codecs.StreamReader):
+    @staticmethod
+    def decode(__data: bytes, __errors: str | None = ..., __final: bool = ...) -> tuple[str, int]: ...
+
+def getregentry() -> codecs.CodecInfo: ...
+def encode(__str: str, __errors: str | None = ...) -> tuple[bytes, int]: ...
+def decode(input: bytes, errors: str | None = ...) -> tuple[str, int]: ...