Searched refs:cr_code (Results 1 – 8 of 8) sorted by relevance
225 if hasattr(coro, 'cr_code') and coro.cr_code:226 coro_code = coro.cr_code
66 x = x.cr_code141 x = x.cr_code
232 cr_code = gi_code variable in _GeneratorWrapper
1416 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)
515 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))516 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
936 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY},
225 | | cr_code | code |
2283 coro.cr_code = None