massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Pygments / pygments / util.pyi
1 from io import TextIOWrapper
2 from typing import Any
3
4 split_path_re: Any
5 doctype_lookup_re: Any
6 tag_re: Any
7 xml_decl_re: Any
8
9 class ClassNotFound(ValueError): ...
10 class OptionError(Exception): ...
11
12 def get_choice_opt(options, optname, allowed, default: Any | None = ..., normcase: bool = ...): ...
13 def get_bool_opt(options, optname, default: Any | None = ...): ...
14 def get_int_opt(options, optname, default: Any | None = ...): ...
15 def get_list_opt(options, optname, default: Any | None = ...): ...
16 def docstring_headline(obj): ...
17 def make_analysator(f): ...
18 def shebang_matches(text, regex): ...
19 def doctype_matches(text, regex): ...
20 def html_doctype_matches(text): ...
21 def looks_like_xml(text): ...
22 def surrogatepair(c): ...
23 def format_lines(var_name, seq, raw: bool = ..., indent_level: int = ...): ...
24 def duplicates_removed(it, already_seen=...): ...
25
26 class Future:
27     def get(self) -> None: ...
28
29 def guess_decode(text): ...
30 def guess_decode_from_terminal(text, term): ...
31 def terminal_encoding(term): ...
32
33 class UnclosingTextIOWrapper(TextIOWrapper):
34     def close(self) -> None: ...