exception documentation
class NameInferenceError(InferenceError): (source)
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 |
Instance Variable | context |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | scope |
Undocumented |
Inherited from InferenceError
:
Instance Variable | arg |
Undocumented |
Instance Variable | assign |
Undocumented |
Instance Variable | attribute |
Undocumented |
Instance Variable | call |
Undocumented |
Instance Variable | caller |
Undocumented |
Instance Variable | frame |
Undocumented |
Instance Variable | func |
Undocumented |
Instance Variable | keyword |
Undocumented |
Instance Variable | node |
Undocumented |
Instance Variable | positional |
Undocumented |
Instance Variable | stmts |
Undocumented |
Instance Variable | target |
Undocumented |
Instance Variable | targets |
Undocumented |
Instance Variable | unknown |
Undocumented |
Instance Variable | unpacked |
Undocumented |
Instance Variable | unpacked |
Undocumented |
Inherited from AstroidError
(via InferenceError
, ResolveError
):
Method | __str__ |
Undocumented |
Instance Variable | message |
Undocumented |