mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
create NameConstant AST class for None, True, and False literals (closes #16619)
This commit is contained in:
parent
4b237e3b11
commit
442f20996d
15 changed files with 152 additions and 72 deletions
|
@ -1437,6 +1437,7 @@ symtable_visit_expr(struct symtable *st, expr_ty e)
|
|||
case Str_kind:
|
||||
case Bytes_kind:
|
||||
case Ellipsis_kind:
|
||||
case NameConstant_kind:
|
||||
/* Nothing to do here. */
|
||||
break;
|
||||
/* The following exprs can be assignment targets. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue