Searched refs:cr_code (Results 1 – 8 of 8) sorted by relevance
221 if hasattr(coro, 'cr_code') and coro.cr_code:222 coro_code = coro.cr_code
57 x = x.cr_code132 x = x.cr_code
225 cr_code = gi_code variable in _GeneratorWrapper
1387 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)
516 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))517 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
951 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY},
216 | | cr_code | code |
2844 coro.cr_code = None