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/cpython/
Dcode.h72 #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.py306 return _has_code_flag(obj, 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.py516 self.assertFalse(bool(foo.__code__.co_flags & inspect.CO_GENERATOR))
518 self.assertFalse(bool(f.cr_code.co_flags & inspect.CO_GENERATOR))
/external/python/cpython3/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.c6840 flags |= CO_GENERATOR; in compute_code_flags()
7035 if (flags & (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR)) { in insert_generator_prefix()
/external/python/cpython3/Doc/library/
Dinspect.rst1449 .. 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()