summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-02-24 19:41:35 +0000
committerGeorg Brandl <georg@python.org>2007-02-24 19:41:35 +0000
commitfb0c7cad1614d1fa00603ef6742bffb22549fb2e (patch)
treef3a3609d18687c1f78b436e394ac2c4f1a648c55 /Python/symtable.c
parent1c08cd90d95241ae200a7625bf20920cbb724af2 (diff)
downloadcpython-fb0c7cad1614d1fa00603ef6742bffb22549fb2e.tar.gz
Make bytes_repr return a string containing a b"" literal.
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 5f0290afa1..1d76e0d025 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -1177,7 +1177,8 @@ symtable_visit_expr(struct symtable *st, expr_ty e)
break;
case Num_kind:
case Str_kind:
- case Ellipsis_kind:
+ case Bytes_kind:
+ case Ellipsis_kind:
/* Nothing to do here. */
break;
/* The following exprs can be assignment targets. */