summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-02-09 21:28:07 +0000
committerGeorg Brandl <georg@python.org>2007-02-09 21:28:07 +0000
commit24838a8552ed8fa15c86b4dc2537bae4282f7219 (patch)
treeffd00c6ddc09c8e6e215133f6270515c7b64ccb9 /Python/symtable.c
parent45a4fb798d669927858f2b28dec69904b0f76fb6 (diff)
downloadcpython-24838a8552ed8fa15c86b4dc2537bae4282f7219.tar.gz
* Remove PRINT_ITEM(_TO), PRINT_NEWLINE(_TO) opcodes.
* Fix some docstrings and one Print -> print. * Fix test_{class,code,descrtut,dis,extcall,parser,popen,pkg,subprocess,syntax,traceback}. These were the ones that generated code with a print statement. In most remaining failing tests there's an issue with the soft space.
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index d275cb9034..5f0290afa1 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -990,11 +990,6 @@ symtable_visit_stmt(struct symtable *st, stmt_ty s)
VISIT(st, expr, s->v.AugAssign.target);
VISIT(st, expr, s->v.AugAssign.value);
break;
- case Print_kind:
- if (s->v.Print.dest)
- VISIT(st, expr, s->v.Print.dest);
- VISIT_SEQ(st, expr, s->v.Print.values);
- break;
case For_kind:
VISIT(st, expr, s->v.For.target);
VISIT(st, expr, s->v.For.iter);