summaryrefslogtreecommitdiff
path: root/Python
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
commitee91be45df796b8e5721d9142a6e92e55a465451 (patch)
tree9878cc28e6145f4985c2d6e323f84657e60eb650 /Python
parentfa353657f0da969eb6bc1cf62fb3c69dd036463a (diff)
downloadcpython-git-ee91be45df796b8e5721d9142a6e92e55a465451.tar.gz
Make bytes_repr return a string containing a b"" literal.
Diffstat (limited to 'Python')
-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. */