

def generateGeneratorEntryCode(statement, emit, context):
    context.setCurrentSourceCodeReference(statement.getSourceReference())
    context((template_generator_initial_throw % {
        'frame_exception_exit': context.getExceptionEscape(),
        'set_error_line_number': getErrorLineNumberUpdateCode(context),
    }))

dataset/ETHPy150Open kayhayen/Nuitka/nuitka/codegen/GeneratorCodes.py generateGeneratorEntryCode/VarMisuse@25/35 `emit`->`context`