class documentation

class TryStmt(Statement): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method accept Undocumented
Class Variable __slots__ Undocumented
Instance Variable body Undocumented
Instance Variable else​_body Undocumented
Instance Variable finally​_body Undocumented
Instance Variable handlers Undocumented
Instance Variable types Undocumented
Instance Variable vars 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, body, vars, types, handlers, else_body, finally_body): (source)

Undocumented

Parameters
body:BlockUndocumented
vars:List[Optional[NameExpr]]Undocumented
types:List[Optional[Expression]]Undocumented
handlers:List[Block]Undocumented
else​_body:Optional[Block]Undocumented
finally​_body:Optional[Block]Undocumented
def accept(self, visitor): (source)

Undocumented

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

Undocumented

body = (source)

Undocumented

else_body = (source)

Undocumented

finally_body = (source)

Undocumented

handlers = (source)

Undocumented

types = (source)

Undocumented

vars = (source)

Undocumented