MCPcopy Create free account
hub / github.com/ActiveState/code / cf

Function cf

recipes/Python/578965_Python_2_nonlocal/recipe-578965.py:72–76  ·  view source on GitHub ↗
(c, i)

Source from the content-addressed store, hash-verified

70 plocals_pos = len(names)-1
71 offs = 0
72 def cf(c, i):
73 if c[i] in (LOAD_FAST, STORE_FAST) and varnames[c[i+1]] in vars:
74 return True
75 elif c[i] in dis.hasjabs:
76 c[i+1] += offs
77 while True:
78 idx = find_code(code, cf)
79 if idx is None:

Callers 1

recipe-498271.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected