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

Method g

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

Source from the content-addressed store, hash-verified

796
797 def test_frame_locals_outlive_generator_with_exec(self):
798 def g():
799 a = 42
800 yield locals(), sys._getframe().f_locals
801
802 locals_ = {'g': g}
803 for i in range(10):

Callers

nothing calls this directly

Calls 1

localsFunction · 0.85

Tested by

no test coverage detected