class documentation

class TryBlock(Block): (source)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method get_source Get a string containing the Python source code corresponding to the statements in the block.
Class Variable __slots__ Undocumented
Instance Variable except_blocks Undocumented

Inherited from Block:

Method __hash__ Undocumented
Method __iter__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method add_exit Undocumented
Method add_statement Undocumented
Method at Get the line number of the first statement of the block in the program.
Method end Get the line number of the last statement of the block in the program.
Method get_calls Get a string containing the calls to other functions inside the block.
Method is_empty Check if the block is empty.
Method type Undocumented
Instance Variable exits Undocumented
Instance Variable func_blocks Undocumented
Instance Variable func_calls Undocumented
Instance Variable highlight Undocumented
Instance Variable id Undocumented
Instance Variable outline Undocumented
Instance Variable predecessors Undocumented
Instance Variable statements Undocumented
def __init__(self, *args, **kwargs): (source)

Undocumented

def get_source(self): (source)

Get a string containing the Python source code corresponding to the statements in the block. Returns: A string containing the source code of the statements.

Returns
strUndocumented
__slots__: tuple[str, ...] = (source)

Undocumented

Undocumented