massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / werkzeug / debug / tbtools.pyi
1 from typing import Any\r
2 \r
3 UTF8_COOKIE = ...  # type: Any\r
4 system_exceptions = ...  # type: Any\r
5 HEADER = ...  # type: Any\r
6 FOOTER = ...  # type: Any\r
7 PAGE_HTML = ...  # type: Any\r
8 CONSOLE_HTML = ...  # type: Any\r
9 SUMMARY_HTML = ...  # type: Any\r
10 FRAME_HTML = ...  # type: Any\r
11 SOURCE_LINE_HTML = ...  # type: Any\r
12 \r
13 def render_console_html(secret, evalex_trusted=True): ...\r
14 def get_current_traceback(ignore_system_exceptions=False, show_hidden_frames=False, skip=0): ...\r
15 \r
16 class Line:\r
17     lineno = ...  # type: Any\r
18     code = ...  # type: Any\r
19     in_frame = ...  # type: Any\r
20     current = ...  # type: Any\r
21     def __init__(self, lineno, code): ...\r
22     def classes(self): ...\r
23     def render(self): ...\r
24 \r
25 class Traceback:\r
26     exc_type = ...  # type: Any\r
27     exc_value = ...  # type: Any\r
28     exception_type = ...  # type: Any\r
29     frames = ...  # type: Any\r
30     def __init__(self, exc_type, exc_value, tb): ...\r
31     def filter_hidden_frames(self): ...\r
32     def is_syntax_error(self): ...\r
33     def exception(self): ...\r
34     def log(self, logfile=None): ...\r
35     def paste(self): ...\r
36     def render_summary(self, include_title=True): ...\r
37     def render_full(self, evalex=False, secret=None, evalex_trusted=True): ...\r
38     def generate_plaintext_traceback(self): ...\r
39     def plaintext(self): ...\r
40     id = ...  # type: Any\r
41 \r
42 class Frame:\r
43     lineno = ...  # type: Any\r
44     function_name = ...  # type: Any\r
45     locals = ...  # type: Any\r
46     globals = ...  # type: Any\r
47     filename = ...  # type: Any\r
48     module = ...  # type: Any\r
49     loader = ...  # type: Any\r
50     code = ...  # type: Any\r
51     hide = ...  # type: Any\r
52     info = ...  # type: Any\r
53     def __init__(self, exc_type, exc_value, tb): ...\r
54     def render(self): ...\r
55     def render_line_context(self): ...\r
56     def get_annotated_lines(self): ...\r
57     def eval(self, code, mode=''): ...\r
58     def sourcelines(self): ...\r
59     def get_context_lines(self, context=5): ...\r
60     @property\r
61     def current_line(self): ...\r
62     def console(self): ...\r
63     id = ...  # type: Any\r