Searched refs:star_etc (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Parser/pegen/ |
D | pegen.c | 1743 asdl_seq *names_with_default, StarEtc *star_etc) in _PyPegen_make_arguments() argument 1830 if (star_etc != NULL && star_etc->vararg != NULL) { in _PyPegen_make_arguments() 1831 vararg = star_etc->vararg; in _PyPegen_make_arguments() 1835 if (star_etc != NULL && star_etc->kwonlyargs != NULL) { in _PyPegen_make_arguments() 1836 kwonlyargs = _get_names(p, star_etc->kwonlyargs); in _PyPegen_make_arguments() 1849 if (star_etc != NULL && star_etc->kwonlyargs != NULL) { in _PyPegen_make_arguments() 1850 kwdefaults = _get_defaults(p, star_etc->kwonlyargs); in _PyPegen_make_arguments() 1863 if (star_etc != NULL && star_etc->kwarg != NULL) { in _PyPegen_make_arguments() 1864 kwarg = star_etc->kwarg; in _PyPegen_make_arguments()
|
/external/python/cpython3/Grammar/ |
D | python.gram | 232 | a=slash_no_default b=param_no_default* c=param_with_default* d=[star_etc] { 234 | a=slash_with_default b=param_with_default* c=[star_etc] { 236 | a=param_no_default+ b=param_with_default* c=[star_etc] { 238 | a=param_with_default+ b=[star_etc] { _PyPegen_make_arguments(p, NULL, NULL, NULL, a, b)} 239 | a=star_etc { _PyPegen_make_arguments(p, NULL, NULL, NULL, NULL, a) } 251 star_etc[StarEtc*]:
|