TryInstruction.get_block_instructions()

The method returns a list of instruction in a try block.

get_block_instructions() -> APIList[Instruction]

Query Example

from glider import *

def query():
    try_instructions = Instructions().try_instructions().exec(1)

    return try_instructions + try_instructions[0].get_block_instructions()

Output Example

Last updated