diff options
Diffstat (limited to 'astroid/exceptions.py')
-rw-r--r-- | astroid/exceptions.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/astroid/exceptions.py b/astroid/exceptions.py index fe6d43ba..c89ef72c 100644 --- a/astroid/exceptions.py +++ b/astroid/exceptions.py @@ -400,9 +400,10 @@ class ParentMissingError(AstroidError): class StatementMissing(ParentMissingError): - """Raised when a call to node.statement() does not return a node. This is because - a node in the chain does not have a parent attribute and therefore does not - return a node for statement(). + """Raised when a call to node.statement() does not return a node. + + This is because a node in the chain does not have a parent attribute + and therefore does not return a node for statement(). Standard attributes: target: The node for which the parent lookup failed. |