Searched refs:gi_yieldfrom (Results 1 – 7 of 7) sorted by relevance
505 self.assertIsNone(gen_b.gi_yieldfrom)508 self.assertIsNone(gen_b.gi_yieldfrom)511 self.assertIsNone(gen_b.gi_yieldfrom)513 self.assertIsNone(gen_b.gi_yieldfrom)515 self.assertIsNone(gen_b.gi_yieldfrom)519 self.assertIsNone(gen_b.gi_yieldfrom)523 self.assertEqual(gen_b.gi_yieldfrom.gi_code.co_name, 'a')527 self.assertIsNone(gen_b.gi_yieldfrom)531 self.assertIsNone(gen_b.gi_yieldfrom)
1872 gen.gi_yieldfrom = object()1876 self.assertIs(wrapper.gi_yieldfrom, gen.gi_yieldfrom)1880 self.assertIs(wrapper.cr_await, gen.gi_yieldfrom)
235 def gi_yieldfrom(self): member in _GeneratorWrapper236 return self.__wrapped.gi_yieldfrom240 cr_await = gi_yieldfrom
86 def gi_yieldfrom(self): member in CoroWrapper87 return self.gen.gi_yieldfrom
53 Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
212 | | gi_yieldfrom | object being iterated by |247 Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators.
85 * Generators have a new ``gi_yieldfrom`` attribute, which returns the