class ArgInferSecondPassQuery(types.TypeQuery[bool]): (source)
Query whether an argument type should be inferred in the second pass.
The result is True if the type has a type variable in a callable return type anywhere. For example, the result for Callable[[], T] is True if t is a type variable.
Method | __init__ |
Undocumented |
Method | visit_callable_type |
Undocumented |