massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / nis.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/nis.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/nis.pyi
new file mode 100644 (file)
index 0000000..b762ae4
--- /dev/null
@@ -0,0 +1,8 @@
+import sys
+
+if sys.platform != "win32":
+    def cat(map: str, domain: str = ...) -> dict[str, str]: ...
+    def get_default_domain() -> str: ...
+    def maps(domain: str = ...) -> list[str]: ...
+    def match(key: str, map: str, domain: str = ...) -> str: ...
+    class error(Exception): ...