module documentation

Process conditional blocks in pyi files.

Class ConditionEvaluator Evaluates if statements in pyi files.
Function evaluate Undocumented
Function _is_int_tuple Return whether the value is a tuple of integers.
Function _three_tuple Append zeros and slice to normalize the tuple to a three-tuple.
def evaluate(test: ast3.AST, options) -> bool: (source)

Undocumented

def _is_int_tuple(value): (source)

Return whether the value is a tuple of integers.

def _three_tuple(value): (source)

Append zeros and slice to normalize the tuple to a three-tuple.