class documentation

class TooManyLevelsError(AstroidImportError): (source)

View In Hierarchy

Exception class which is raised when a relative import was beyond the top-level.

Standard attributes:
level: The level which was attempted. name: the name of the module on which the relative import was attempted.
Method __init__ Undocumented
Class Variable level Undocumented
Class Variable name Undocumented

Inherited from AstroidError (via AstroidImportError, AstroidBuildingError):

Method __str__ Undocumented
Instance Variable message Undocumented
def __init__(self, message='Relative import with too many levels ({level}) for module {name!r}', **kws): (source)
level = (source)

Undocumented

name = (source)

Undocumented