diff options
| author | Georg Brandl <georg@python.org> | 2007-02-24 19:41:35 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-02-24 19:41:35 +0000 |
| commit | fb0c7cad1614d1fa00603ef6742bffb22549fb2e (patch) | |
| tree | f3a3609d18687c1f78b436e394ac2c4f1a648c55 /Python | |
| parent | 1c08cd90d95241ae200a7625bf20920cbb724af2 (diff) | |
| download | cpython-fb0c7cad1614d1fa00603ef6742bffb22549fb2e.tar.gz | |
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 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. */ |
