class documentation

class MultiLineBlockMixin: (source)

Known subclasses: astroid.nodes.ExceptHandler, astroid.nodes.For, astroid.nodes.If, astroid.nodes.MatchCase, astroid.nodes.scoped_nodes.FunctionDef, astroid.nodes.TryExcept, astroid.nodes.TryFinally, astroid.nodes.While, astroid.nodes.With

View In Hierarchy

Mixin for nodes with multi-line blocks, e.g. For and FunctionDef. Note that this does not apply to every node with a body field. For instance, an If node has a multi-line body, but the body of an IfExpr is not multi-line, and hence cannot contain Return nodes, Assign nodes, etc.
Method _get​_assign​_nodes Undocumented
Method _get​_return​_nodes​_skip​_functions Undocumented
Method _get​_yield​_nodes​_skip​_lambdas Undocumented
Property _multi​_line​_blocks Undocumented
@decorators.cached
def _get_assign_nodes(self): (source)

Undocumented

def _get_return_nodes_skip_functions(self): (source)

Undocumented

def _get_yield_nodes_skip_lambdas(self): (source)

Undocumented

Undocumented