massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / html5lib / html5lib / _utils.pyi
1 from collections.abc import Mapping
2 from typing import Any, Dict
3
4 supports_lone_surrogates: bool
5
6 class MethodDispatcher(Dict[Any, Any]):
7     default: Any
8     def __init__(self, items=...) -> None: ...
9     def __getitem__(self, key): ...
10     def __get__(self, instance, owner: Any | None = ...): ...
11
12 class BoundMethodDispatcher(Mapping[Any, Any]):
13     instance: Any
14     dispatcher: Any
15     def __init__(self, instance, dispatcher) -> None: ...
16     def __getitem__(self, key): ...
17     def get(self, key, default): ...
18     def __iter__(self): ...
19     def __len__(self): ...
20     def __contains__(self, key): ...
21
22 def isSurrogatePair(data): ...
23 def surrogatePairToCodepoint(data): ...
24 def moduleFactoryFactory(factory): ...