Lines Matching refs:gi
450 gi = g()
452 y = gi.send(None)
472 gi = g()
473 next(gi)
475 gi.close()
494 gi = g()
496 x = next(gi)
499 gi.throw(e)
527 gi = g()
528 next(gi)
530 y = gi.send(42)
557 gi = g()
558 self.assertEqual(next(gi), 1)
559 gi.send(1)
562 gi = g()
563 self.assertEqual(next(gi), 1)
564 gi.throw(AttributeError)
567 gi = g()
568 self.assertEqual(next(gi), 1)
569 gi.close()
585 gi = g1()
586 next(gi)
608 yield from gi
611 gi = g1()
612 for y in gi:
676 gi = g(r)
677 next(gi)
680 next(gi)
718 gi = g(r)
719 next(gi)
722 gi.send("spam")
806 gi = g()
807 next(gi)
808 gi.throw(GeneratorExit)
836 gi = g()
837 next(gi)
838 gi.throw(GeneratorExit)
866 gi = g()
867 next(gi)
868 gi.throw(GeneratorExit)