exception documentation
class NameInferenceError(InferenceError): (source)
Constructor: NameInferenceError(message, **kws)
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 |