class documentation

class WithStmt(Statement): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method accept Undocumented
Class Variable __slots__ Undocumented
Instance Variable analyzed​_types Undocumented
Instance Variable body Undocumented
Instance Variable expr Undocumented
Instance Variable is​_async Undocumented
Instance Variable target Undocumented
Instance Variable unanalyzed​_type Undocumented

Inherited from Node (via Statement):

Method __str__ Undocumented

Inherited from Context (via Statement, Node):

Method get​_column Don't use. Use x.column.
Method get​_line Don't use. Use x.line.
Method set​_line If target is a node, pull line (and column) information into this node. If column is specified, this will override any column information coming from a node.
Instance Variable column Undocumented
Instance Variable end​_line Undocumented
Instance Variable line Undocumented
def __init__(self, expr, target, body, target_type=None): (source)

Undocumented

Parameters
expr:List[Expression]Undocumented
target:List[Optional[Lvalue]]Undocumented
body:BlockUndocumented
target​_type:Optional[mypy.types.Type]Undocumented
def accept(self, visitor): (source)

Undocumented

Parameters
visitor:StatementVisitor[T]Undocumented
Returns
TUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

analyzed_types: list = (source)

Undocumented

body = (source)

Undocumented

expr = (source)

Undocumented

is_async: bool = (source)

Undocumented

target = (source)

Undocumented

unanalyzed_type = (source)

Undocumented