Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dcode.h72 #define CO_GENERATOR 0x0020 macro
/third_party/python/Lib/
Dbdb.py6 from inspect import CO_GENERATOR, CO_COROUTINE, CO_ASYNC_GENERATOR
10 GENERATOR_AND_COROUTINE_FLAGS = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR
Dinspect.py306 return _has_code_flag(obj, CO_GENERATOR)
/third_party/python/Misc/NEWS.d/
D3.5.0b3.rst38 use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
/third_party/python/Lib/test/
Dtest_coroutines.py516 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR))
518 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/third_party/python/Python/
Dceval.c5025 …assert (((PyCodeObject *)con->fc_code)->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERAT… in make_coro()
5062 …if (((PyCodeObject *)con->fc_code)->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR))… in _PyEval_Vector()
Dcompile.c6814 flags |= CO_GENERATOR; in compute_code_flags()
7009 if (flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) { in insert_generator_prefix()
/third_party/python/Doc/library/
Dinspect.rst1448 .. data:: CO_GENERATOR