mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
* 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.
This commit is contained in:
parent
08c47ba0df
commit
88fc6646d1
31 changed files with 159 additions and 553 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue