Home
last modified time | relevance | path

Searched refs:posdefaults (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Parser/pegen/
Dpegen.c1794 asdl_seq *posdefaults; in _PyPegen_make_arguments() local
1805posdefaults = _PyPegen_join_sequences(p, slash_with_default_values, names_with_default_values); in _PyPegen_make_arguments()
1806 if (!posdefaults) { in _PyPegen_make_arguments()
1811 posdefaults = _get_defaults(p, names_with_default); in _PyPegen_make_arguments()
1812 if (!posdefaults) { in _PyPegen_make_arguments()
1817 posdefaults = _get_defaults(p, slash_with_default->names_with_defaults); in _PyPegen_make_arguments()
1818 if (!posdefaults) { in _PyPegen_make_arguments()
1823 posdefaults = _Py_asdl_seq_new(0, p->arena); in _PyPegen_make_arguments()
1824 if (!posdefaults) { in _PyPegen_make_arguments()
1868 posdefaults, p->arena); in _PyPegen_make_arguments()
[all …]
/external/python/cpython3/Python/
Dast.c1482 asdl_seq *posonlyargs, *posargs, *posdefaults, *kwonlyargs, *kwdefaults; in ast_for_arguments() local
1536 posdefaults = (nposdefaults ? in ast_for_arguments()
1538 if (!posdefaults && nposdefaults) in ast_for_arguments()
1567 assert(posdefaults != NULL); in ast_for_arguments()
1568 asdl_seq_SET(posdefaults, j++, expression); in ast_for_arguments()
1676 …return arguments(posonlyargs, posargs, vararg, kwonlyargs, kwdefaults, kwarg, posdefaults, c->c_ar… in ast_for_arguments()