diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-12-06 17:41:04 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-12-06 17:41:04 -0500 |
commit | 8fbf4fa9edcb9efd1ca5d650ed235eb4770dea3a (patch) | |
tree | eb01230e72ad659e1a545b985ae7d17449e3701e /Python/symtable.c | |
parent | e54c3beb0178f581b6e1320ee839a267056fc891 (diff) | |
download | cpython-8fbf4fa9edcb9efd1ca5d650ed235eb4770dea3a.tar.gz |
create NameConstant AST class for None, True, and False literals (closes #16619)
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 8d941f0d54..d16bfbcad3 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -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. */ |