From 88fc6646d1b97cb3ba6188808e7c016884d44a73 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 9 Feb 2007 21:28:07 +0000 Subject: * 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. --- Lib/compiler/pyassem.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Lib/compiler/pyassem.py') diff --git a/Lib/compiler/pyassem.py b/Lib/compiler/pyassem.py index 9f45d61d99..551791ed58 100644 --- a/Lib/compiler/pyassem.py +++ b/Lib/compiler/pyassem.py @@ -783,8 +783,7 @@ class StackDepthTracker: 'DELETE_SLICE+3': -3, 'STORE_SUBSCR': -3, 'DELETE_SUBSCR': -2, - # PRINT_EXPR? - 'PRINT_ITEM': -1, + 'PRINT_EXPR': -1, 'RETURN_VALUE': -1, 'YIELD_VALUE': -1, 'BUILD_CLASS': -2, -- cgit v1.2.1