module documentation
Checks for various exception related errors.
Class |
|
Base class for visitors defined in this module. |
Class |
|
Visitor for handling leaf kinds of a raise value. |
Class |
|
Visit references (anything that is not an AST leaf). |
Class |
|
Exception related checks. |
Function | register |
Undocumented |
Constant | MSGS |
Undocumented |
Function | _annotated |
Recursively generate nodes inferred by the given statement. |
Function | _builtin |
Undocumented |
Function | _is |
Return whether the given statement node raises an exception. |
Undocumented
Value |
|
def _annotated_unpack_infer(stmt:
nodes.NodeNG
, context: InferenceContext|None
= None) -> Generator[ tuple[ nodes.NodeNG, SuccessfulInferenceResult], None, None]
:
(source)
¶
Recursively generate nodes inferred by the given statement. If the inferred value is a list or a tuple, recurse on the elements. Returns an iterator which yields tuples in the format ('original node', 'inferred node').