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.py188 return _has_code_flag(obj, CO_GENERATOR)
/third_party/python/Lib/test/
Dtest_coroutines.py514 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR))
516 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/third_party/python/Doc/library/
Dinspect.rst1367 .. data:: CO_GENERATOR
/third_party/python/Python/
Dceval.c4301 if (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) { in _PyEval_EvalCode()
Dcompile.c5843 flags |= CO_GENERATOR; in compute_code_flags()
/third_party/python/Misc/
DNEWS23536 inspect.getcoroutinelocals; coroutines no longer use CO_GENERATOR flag;