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

Method f

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

Source from the content-addressed store, hash-verified

592
593 def test_code_equality(self):
594 def f():
595 try:
596 a()
597 except:
598 b()
599 else:
600 c()
601 finally:
602 d()
603 code_a = f.__code__
604 code_b = code_a.replace(co_linetable=b"")
605 code_c = code_a.replace(co_exceptiontable=b"")

Callers

nothing calls this directly

Calls 4

aClass · 0.70
cClass · 0.70
bFunction · 0.50
dFunction · 0.50

Tested by

no test coverage detected