module documentation
Undocumented
Function | path |
Return the given infer function wrapped to handle the path |
Function | raise |
Return the given infer function wrapped to raise InferenceError if the generator is empty. |
Function | yes |
Return the given infer function wrapped to yield Uninferable if the generator is empty. |
Return the given infer function wrapped to handle the path
Used to stop inference if the node has already been looked
at for a given InferenceContext
to prevent infinite recursion.
Parameters | |
func:_InferMethT | Undocumented |
node:ASTNodeT | Undocumented |
context:OptionalInferenceContext | Undocumented |
Returns | |
InferResult | Undocumented |
Return the given infer function wrapped to raise InferenceError if the generator is empty.
Parameters | |
func:_InferMethT | Undocumented |
node:ASTNodeT | Undocumented |
*args:Any | Undocumented |
**kwargs:Any | Undocumented |
Returns | |
InferResult | Undocumented |
Return the given infer function wrapped to yield Uninferable if the generator is empty.
Parameters | |
func:_InferMethT | Undocumented |
node:ASTNodeT | Undocumented |
*args:Any | Undocumented |
**kwargs:Any | Undocumented |
Returns | |
InferResult | Undocumented |