1 from io import TextIOWrapper
9 class ClassNotFound(ValueError): ...
10 class OptionError(Exception): ...
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=...): ...
27 def get(self) -> None: ...
29 def guess_decode(text): ...
30 def guess_decode_from_terminal(text, term): ...
31 def terminal_encoding(term): ...
33 class UnclosingTextIOWrapper(TextIOWrapper):
34 def close(self) -> None: ...