Searched refs:gi_yieldfrom (Results 1 – 7 of 7) sorted by relevance
324 self.assertIsNone(gen_b.gi_yieldfrom)327 self.assertIsNone(gen_b.gi_yieldfrom)330 self.assertIsNone(gen_b.gi_yieldfrom)332 self.assertIsNone(gen_b.gi_yieldfrom)334 self.assertIsNone(gen_b.gi_yieldfrom)338 self.assertIsNone(gen_b.gi_yieldfrom)342 self.assertEqual(gen_b.gi_yieldfrom.gi_code.co_name, 'a')346 self.assertIsNone(gen_b.gi_yieldfrom)350 self.assertIsNone(gen_b.gi_yieldfrom)
1461 gen.gi_yieldfrom = object()1465 self.assertIs(wrapper.gi_yieldfrom, gen.gi_yieldfrom)1469 self.assertIs(wrapper.cr_await, gen.gi_yieldfrom)
223 def gi_yieldfrom(self): member in _GeneratorWrapper224 return self.__wrapped.gi_yieldfrom228 cr_await = gi_yieldfrom
85 def gi_yieldfrom(self): member in CoroWrapper86 return self.gen.gi_yieldfrom
53 Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
201 | | gi_yieldfrom | object being iterated by |236 Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators.
85 * Generators have a new ``gi_yieldfrom`` attribute, which returns the