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

Function gen

Lib/test/test_bdb.py:515–523  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

513
514 """
515 def gen(a, b):
516 try:
517 while 1:
518 x = next(a)
519 y = next(b)
520 yield x
521 yield y
522 except StopIteration:
523 return
524
525 # Step over the import statement in tfunc_import using 'next' and step
526 # into main() in test_module.

Calls

no outgoing calls

Tested by

no test coverage detected