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

Method f_with_call

Lib/test/test_traceback.py:1086–1091  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1084
1085 def test_caret_for_call(self):
1086 def f_with_call():
1087 def f1(a):
1088 def f2(b):
1089 raise RuntimeError("fail")
1090 return f2
1091 return f1("x")("y")("z")
1092
1093 lineno_f = f_with_call.__code__.co_firstlineno
1094 expected_error = (

Callers

nothing calls this directly

Calls 2

f1Function · 0.85
gFunction · 0.70

Tested by

no test coverage detected