module documentation
Various context related utilities, including inference and call contexts.
Class |
|
Holds information for a call site. |
Class |
|
Provide context for inference. |
Function | bind |
Give a context a boundnode to retrieve the correct function name or attribute value with from further inference. |
Function | copy |
Clone a context if given, or return a fresh context. |
Function | _invalidate |
Undocumented |
Constant | _INFERENCE |
Undocumented |
Type Alias | _ |
Undocumented |
Give a context a boundnode to retrieve the correct function name or attribute value with from further inference. Do not use an existing context since the boundnode could then be incorrectly propagated higher up in the call stack. :param node: Node to do name lookups from :type node NodeNG: :returns: A new context :rtype: InferenceContext