exception documentation
class StatementMissing(ParentMissingError): (source)
Constructor: StatementMissing(target)
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.
| Method | __init__ |
Undocumented |
Inherited from ParentMissingError:
| Instance Variable | target |
Undocumented |
Inherited from AstroidError (via ParentMissingError):
| Method | __str__ |
Undocumented |
| Instance Variable | message |
Undocumented |