Home
last modified time | relevance | path

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

/external/python/cpython2/Python/
Dast.c376 const char* expr_name = NULL; in set_context() local
413 expr_name = "()"; in set_context()
417 expr_name = "lambda"; in set_context()
420 expr_name = "function call"; in set_context()
425 expr_name = "operator"; in set_context()
428 expr_name = "generator expression"; in set_context()
431 expr_name = "yield expression"; in set_context()
434 expr_name = "list comprehension"; in set_context()
437 expr_name = "set comprehension"; in set_context()
440 expr_name = "dict comprehension"; in set_context()
[all …]
/external/python/cpython3/Python/
Dast.c1152 const char *expr_name = get_expr_name(e); in set_context() local
1153 if (expr_name != NULL) { in set_context()
1156 expr_name); in set_context()
1879 const char *expr_name = get_expr_name(target); in ast_for_namedexpr() local
1880 if (expr_name != NULL) { in ast_for_namedexpr()
1881 ast_error(c, n, "cannot use assignment expressions with %s", expr_name); in ast_for_namedexpr()