class documentation

class NameInferenceError(InferenceError): (source)

View In Hierarchy

Raised when a name lookup fails, corresponds to NameError.

Standard attributes:
name: The name for which lookup failed, as a string. scope: The node representing the scope in which the lookup occurred. context: InferenceContext object.
Method __init__ Undocumented
Class Variable name Undocumented
Class Variable scope Undocumented

Inherited from InferenceError:

Class Variable context Undocumented
Class Variable node Undocumented

Inherited from AstroidError (via InferenceError, ResolveError):

Method __str__ Undocumented
Instance Variable message Undocumented
def __init__(self, message='{name!r} not found in {scope!r}.', **kws): (source)
name = (source)

Undocumented

scope = (source)

Undocumented