MCPcopy
hub / github.com/pyodide/pyodide / g

Function g

src/tests/test_pyproxy.py:290–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

288 from pyodide.code import run_js
289
290 def g():
291 yield 1
292 yield 2
293 raise Exception("hi")
294 yield 3 # type: ignore[unreachable]
295
296 gen = g()
297 run_js(

Callers 4

test_pyproxy_iter_error2Function · 0.70
test_genFunction · 0.70
test_async_gen1Function · 0.70
test_async_gen2Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected