diff options
author | Georg Brandl <georg@python.org> | 2007-02-24 19:41:35 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-02-24 19:41:35 (GMT) |
commit | ee91be45df796b8e5721d9142a6e92e55a465451 (patch) | |
tree | 9878cc28e6145f4985c2d6e323f84657e60eb650 /Python | |
parent | fa353657f0da969eb6bc1cf62fb3c69dd036463a (diff) | |
download | cpython-ee91be45df796b8e5721d9142a6e92e55a465451.zip cpython-ee91be45df796b8e5721d9142a6e92e55a465451.tar.gz cpython-ee91be45df796b8e5721d9142a6e92e55a465451.tar.bz2 |
Make bytes_repr return a string containing a b"" literal.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/symtable.c | 3 |
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. */ |