class Frame:
Method | __init__ |
Undocumented |
Method | eval |
Evaluate code in the context of the frame. |
Method | get_annotated_lines |
Helper function that returns lines with extra information. |
Method | get_context_lines |
Undocumented |
Method | render |
Render a single frame in a traceback. |
Method | render_line_context |
Undocumented |
Method | render_text |
Undocumented |
Instance Variable | code |
Undocumented |
Instance Variable | filename |
Undocumented |
Instance Variable | function_name |
Undocumented |
Instance Variable | globals |
Undocumented |
Instance Variable | hide |
Undocumented |
Instance Variable | info |
Undocumented |
Instance Variable | lineno |
Undocumented |
Instance Variable | loader |
Undocumented |
Instance Variable | locals |
Undocumented |
Instance Variable | module |
Undocumented |
Property | console |
Undocumented |
Property | current_line |
Undocumented |
Property | id |
Undocumented |
Property | is_library |
Undocumented |
Property | sourcelines |
The sourcecode of the file as list of strings. |
Undocumented
Parameters | |
exc_type:t.Type[ | Undocumented |
exc_value:BaseException | Undocumented |
tb:TracebackType | Undocumented |
Parameters | |
code:t.Union[ | Undocumented |
mode:str | Undocumented |
Returns | |
t.Any | Undocumented |
Returns | |
t.List[ | Undocumented |
Undocumented
Parameters | |
context:int | Undocumented |
Returns | |
t.Tuple[ | Undocumented |