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

Method f

Lib/test/test_generators.py:919–925  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

917
918 def check_yield_from_example(self, call_method):
919 def f():
920 self.check_stack_names(sys._getframe(), ['f', 'g'])
921 try:
922 yield
923 except Exception:
924 pass
925 self.check_stack_names(sys._getframe(), ['f', 'g'])
926
927 def g():
928 self.check_stack_names(sys._getframe(), ['g'])

Callers

nothing calls this directly

Calls 1

check_stack_namesMethod · 0.95

Tested by

no test coverage detected