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 | 442f20996dcd994d1024e5cad7f66a4595352eb2 (patch) | |
tree | 641746efd4247acd2b5e13f5de7f65c026242a05 /Python/symtable.c | |
parent | 4b237e3b1112304f834ac78fe05abdecbf3d87b4 (diff) | |
download | cpython-git-442f20996dcd994d1024e5cad7f66a4595352eb2.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. */ |