MCPcopy Index your code
hub / github.com/RustPython/RustPython / f

Method f

Lib/test/test_dis.py:2118–2123  ·  view source on GitHub ↗
(x, y, z)

Source from the content-addressed store, hash-verified

2116
2117 def test_show_caches_with_label(self):
2118 def f(x, y, z):
2119 if x:
2120 res = y
2121 else:
2122 res = z
2123 return res
2124
2125 output = io.StringIO()
2126 dis.dis(f.__code__, file=output, show_caches=True)

Callers

nothing calls this directly

Calls 2

get_argval_argreprMethod · 0.95
MyArgResolverClass · 0.85

Tested by

no test coverage detected