massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stdlib / _threading_local.pyi
1 from typing import Any, Dict
2 from weakref import ReferenceType
3
4 localdict = Dict[Any, Any]
5
6 class _localimpl:
7     key: str
8     dicts: dict[int, tuple[ReferenceType[Any], localdict]]
9     def __init__(self) -> None: ...
10     def get_dict(self) -> localdict: ...
11     def create_dict(self) -> localdict: ...
12
13 class local:
14     def __getattribute__(self, name: str) -> Any: ...
15     def __setattr__(self, name: str, value: Any) -> None: ...
16     def __delattr__(self, name: str) -> None: ...