module documentation
Basic Error checker from the basic checker.
Class |
|
No class docstring; 0/1 instance variable, 0/1 class variable, 7/24 methods documented |
Function | redefined |
Return True if the object is a method redefined via decorator. |
Constant | ABC |
Undocumented |
Constant | REDEFINABLE |
Undocumented |
Constant | TYPING |
Undocumented |
Function | _get |
Returns the loop node that holds the break node in arguments. |
Function | _has |
Determine if the given `node` has abstract methods. |
Function | _loop |
Returns true if a loop may end with a break statement. |
Return True if the object is a method redefined via decorator. For example: @property def x(self): return self._x @x.setter def x(self, value): self._x = value
Returns the loop node that holds the break node in arguments. Args: break_node (astroid.Break): the break node of interest. Returns: astroid.For or astroid.While: the loop node holding the break node.
Determine if the given `node` has abstract methods. The methods should be made abstract by decorating them with `abc` decorators.