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

Method f

Lib/test/test_code.py:603–611  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

601
602 def test_code_equality(self):
603 def f():
604 try:
605 a()
606 except:
607 b()
608 else:
609 c()
610 finally:
611 d()
612 code_a = f.__code__
613 code_b = code_a.replace(co_linetable=b"")
614 code_c = code_a.replace(co_exceptiontable=b"")

Callers

nothing calls this directly

Calls 4

bFunction · 0.85
dFunction · 0.85
aClass · 0.70
cClass · 0.70

Tested by

no test coverage detected