Home
last modified time | relevance | path

Searched refs:cr_code (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dcoroutines.py221 if hasattr(coro, 'cr_code') and coro.cr_code:
222 coro_code = coro.cr_code
/external/python/cpython3/Lib/
Ddis.py57 x = x.cr_code
132 x = x.cr_code
Dtypes.py225 cr_code = gi_code variable in _GeneratorWrapper
/external/python/cpython3/Lib/test/
Dtest_types.py1387 self.assertEqual(coro.cr_code.co_flags, foo_flags)
1468 self.assertIs(wrapper.cr_code, gen.gi_code)
1591 self.assertIs(foo().cr_code, gen.gi_code)
Dtest_coroutines.py516 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))
517 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/external/python/cpython3/Objects/
Dgenobject.c951 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY},
/external/python/cpython3/Doc/library/
Dinspect.rst216 | | cr_code | code |
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2844 coro.cr_code = None