def LOAD_FAST(ctx: _VSContext, instruction: dis.Instruction):
"""
Loads from VARNAMES.
"""
item = ctx.varnames[instruction.arg]
if item == NO_RESULT:
safe_raise(ctx, NameError("name '{}' is not defined".format(ctx.co_varnames[instruction.arg])))
return ctx
ctx.push(item)
return ctx
评论列表
文章目录