Home
last modified time | relevance | path

Searched refs:async_def (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py358 async_def = False
429 if async_def and async_def_indent >= indents[-1]:
430 async_def = False
436 if async_def and async_def_nl and async_def_indent >= indents[-1]:
437 async_def = False
460 elif async_def:
505 if async_def:
520 async_def = True
/external/python/cpython3/Parser/
Dtokenizer.h70 int async_def; /* =1 if tokens are inside an 'async def' body. */ member
Dtokenizer.c86 tok->async_def = 0; in tok_new()
1286 if (tok->async_def in tok_get()
1302 tok->async_def = 0; in tok_get()
1434 if (!tok->async_hacks || tok->async_def) { in tok_get()
1463 tok->async_def = 1; in tok_get()
1481 if (tok->async_def) { in tok_get()
/external/python/cpython3/Lib/test/
Dtest_dis.py811 async def async_def(): function
843 (async_def, code_info_async_def)