MCPcopy Index your code
hub / github.com/python/cpython / f

Method f

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

Source from the content-addressed store, hash-verified

2128
2129 def test_show_caches_with_label(self):
2130 def f(x, y, z):
2131 if x:
2132 res = y
2133 else:
2134 res = z
2135 return res
2136
2137 output = io.StringIO()
2138 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