Home
last modified time | relevance | path

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

/third_party/python/Lib/asyncio/
Dcoroutines.py225 if hasattr(coro, 'cr_code') and coro.cr_code:
226 coro_code = coro.cr_code
/third_party/python/Lib/
Ddis.py66 x = x.cr_code
141 x = x.cr_code
Dtypes.py237 cr_code = gi_code variable in _GeneratorWrapper
/third_party/python/Lib/test/
Dtest_types.py1798 self.assertEqual(coro.cr_code.co_flags, foo_flags)
1879 self.assertIs(wrapper.cr_code, gen.gi_code)
2002 self.assertIs(foo().cr_code, gen.gi_code)
Dtest_coroutines.py517 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))
518 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/third_party/python/Objects/
Dgenobject.c994 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY|PY_AUDIT_READ},
/third_party/python/Doc/library/
Dinspect.rst227 | | cr_code | code |
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py2306 coro.cr_code = None