massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Send2Trash / send2trash / __init__.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Send2Trash/send2trash/__init__.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Send2Trash/send2trash/__init__.pyi
new file mode 100644 (file)
index 0000000..5fa3c59
--- /dev/null
@@ -0,0 +1,10 @@
+from _typeshed import StrOrBytesPath
+from typing import Any
+
+from .exceptions import TrashPermissionError as TrashPermissionError
+
+# The list should be list[StrOrBytesPath] but that doesn't work because invariance
+def send2trash(paths: list[Any] | StrOrBytesPath) -> None: ...
+
+# Marked as incomplete because there are platform-specific plat_foo modules
+def __getattr__(name: str) -> Any: ...  # incomplete