massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / _threading_local.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/_threading_local.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stdlib/_threading_local.pyi
new file mode 100644 (file)
index 0000000..bab69a7
--- /dev/null
@@ -0,0 +1,16 @@
+from typing import Any, Dict
+from weakref import ReferenceType
+
+localdict = Dict[Any, Any]
+
+class _localimpl:
+    key: str
+    dicts: dict[int, tuple[ReferenceType[Any], localdict]]
+    def __init__(self) -> None: ...
+    def get_dict(self) -> localdict: ...
+    def create_dict(self) -> localdict: ...
+
+class local:
+    def __getattribute__(self, name: str) -> Any: ...
+    def __setattr__(self, name: str, value: Any) -> None: ...
+    def __delattr__(self, name: str) -> None: ...