Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/asyncio/
Dcoroutines.py225 if hasattr(coro, 'cr_code') and coro.cr_code:
226 coro_code = coro.cr_code
/external/python/cpython3/Lib/
Ddis.py66 x = x.cr_code
141 x = x.cr_code
Dtypes.py232 cr_code = gi_code variable in _GeneratorWrapper
/external/python/cpython3/Lib/test/
Dtest_types.py1416 self.assertEqual(coro.cr_code.co_flags, foo_flags)
1497 self.assertIs(wrapper.cr_code, gen.gi_code)
1620 self.assertIs(foo().cr_code, gen.gi_code)
Dtest_coroutines.py515 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))
516 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/external/python/cpython3/Objects/
Dgenobject.c936 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY},
/external/python/cpython3/Doc/library/
Dinspect.rst225 | | cr_code | code |
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py2283 coro.cr_code = None