exception documentation
class MroError(ResolveError): (source)
Known subclasses: astroid.exceptions.DuplicateBasesError, astroid.exceptions.InconsistentMroError
Constructor: MroError(message, **kws)
Error raised when there is a problem with method resolution of a class.
- Standard attributes:
- mros: A sequence of sequences containing ClassDef nodes. cls: ClassDef node whose MRO resolution failed. context: InferenceContext object.
| Method | __str__ |
Undocumented |
| Class Variable | cls |
Undocumented |
| Class Variable | mros |
Undocumented |
Inherited from ResolveError:
| Class Variable | context |
Undocumented |
Inherited from AstroidError (via ResolveError):
| Method | __init__ |
Undocumented |
| Instance Variable | message |
Undocumented |