Searched refs:cr_code (Results 1 – 6 of 6) sorted by relevance
168 def cr_code(self): member in CoroWrapper169 return self.gen.cr_code314 coro_code = coro.cr_code
199 cr_code = gi_code variable in _GeneratorWrapper
1257 self.assertEqual(coro.cr_code.co_flags, foo_flags)1338 self.assertIs(wrapper.cr_code, gen.gi_code)1461 self.assertIs(foo().cr_code, gen.gi_code)
503 self.assertTrue(bool(f.cr_code.co_flags & inspect.CO_COROUTINE))504 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
969 {"cr_code", T_OBJECT, offsetof(PyCoroObject, cr_code), READONLY},
203 | | cr_code | code |