Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/compiler/
Dconsts.py18 CO_GENERATOR = 0x0020 variable
Dpycodegen.py13 CO_NESTED, CO_GENERATOR, CO_FUTURE_DIVISION,
1422 self.graph.setFlag(CO_GENERATOR)
1437 self.graph.setFlag(CO_GENERATOR)
/external/python/cpython2/Include/
Dcode.h38 #define CO_GENERATOR 0x0020 macro
/external/python/cpython3/Include/
Dcode.h59 #define CO_GENERATOR 0x0020 macro
/external/python/cpython3/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.py177 object.__code__.co_flags & CO_GENERATOR)
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst38 use CO_GENERATOR flag; sys.set_coroutine_wrapper works only for 'async def'
/external/python/cpython2/Lib/
Dinspect.py46 CO_NESTED, CO_GENERATOR, CO_NOFREE = 0x10, 0x20, 0x40 variable
161 object.func_code.co_flags & CO_GENERATOR)
/external/python/cpython3/Lib/test/
Dtest_coroutines.py515 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR))
517 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/external/python/cpython3/Doc/library/
Dinspect.rst1327 .. data:: CO_GENERATOR
/external/python/cpython2/Python/
Dcompile.c3779 flags |= CO_GENERATOR; in compute_code_flags()
Dceval.c3592 if (co->co_flags & CO_GENERATOR) { in PyEval_EvalCodeEx()
/external/python/cpython3/Python/
Dceval.c3885 if (co->co_flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) { in _PyEval_EvalCodeWithName()
Dcompile.c5350 flags |= CO_GENERATOR; in compute_code_flags()