Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_generators.py324 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)
Dtest_types.py1461 gen.gi_yieldfrom = object()
1465 self.assertIs(wrapper.gi_yieldfrom, gen.gi_yieldfrom)
1469 self.assertIs(wrapper.cr_await, gen.gi_yieldfrom)
/external/python/cpython3/Lib/
Dtypes.py223 def gi_yieldfrom(self): member in _GeneratorWrapper
224 return self.__wrapped.gi_yieldfrom
228 cr_await = gi_yieldfrom
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py85 def gi_yieldfrom(self): member in CoroWrapper
86 return self.gen.gi_yieldfrom
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst53 Add gi_yieldfrom to generators and cr_await to coroutines. Contributed by
/external/python/cpython3/Doc/library/
Dinspect.rst201 | | gi_yieldfrom | object being iterated by |
236 Add ``__qualname__`` and ``gi_yieldfrom`` attributes to generators.
/external/python/cpython3/Doc/whatsnew/
D3.5.rst85 * Generators have a new ``gi_yieldfrom`` attribute, which returns the