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
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 |
Undocumented |
Method | _get |
Undocumented |
Method | _get |
Undocumented |
Property | _multi |
Undocumented |