class documentation

class ArgInferSecondPassQuery(types.TypeQuery[bool]): (source)

View In Hierarchy

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
def __init__(self): (source)

Undocumented

def visit_callable_type(self, t): (source)

Undocumented

Parameters
t:CallableTypeUndocumented
Returns
boolUndocumented