summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-02-24 19:41:35 (GMT)
committerGeorg Brandl <georg@python.org>2007-02-24 19:41:35 (GMT)
commitee91be45df796b8e5721d9142a6e92e55a465451 (patch)
tree9878cc28e6145f4985c2d6e323f84657e60eb650 /Python/symtable.c
parentfa353657f0da969eb6bc1cf62fb3c69dd036463a (diff)
downloadcpython-ee91be45df796b8e5721d9142a6e92e55a465451.zip
cpython-ee91be45df796b8e5721d9142a6e92e55a465451.tar.gz
cpython-ee91be45df796b8e5721d9142a6e92e55a465451.tar.bz2
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 5f0290a..1d76e0d 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. */