Home
last modified time | relevance | path

Searched refs:gi_yieldfrom (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dtest_generators.py505 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)
Dtest_types.py1872 gen.gi_yieldfrom = object()
1876 self.assertIs(wrapper.gi_yieldfrom, gen.gi_yieldfrom)
1880 self.assertIs(wrapper.cr_await, gen.gi_yieldfrom)
/third_party/python/Lib/
Dtypes.py235 def gi_yieldfrom(self): member in _GeneratorWrapper
236 return self.__wrapped.gi_yieldfrom
240 cr_await = gi_yieldfrom
/third_party/python/Lib/asyncio/
Dcoroutines.py86 def gi_yieldfrom(self): member in CoroWrapper
87 return self.gen.gi_yieldfrom
/third_party/python/Misc/NEWS.d/
D3.5.0b3.rst53 Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
/third_party/python/Doc/library/
Dinspect.rst212 | | gi_yieldfrom | object being iterated by |
247 Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators.
/third_party/python/Doc/whatsnew/
D3.5.rst85 * Generators have a new ``gi_yieldfrom`` attribute, which returns the