From: Thomas Heller Date: Fri, 4 Jun 2004 16:13:06 +0000 (+0000) Subject: Partial backport (only the bugfix) of sf #811294: X-Git-Tag: v2.3.5c1~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad85faff9fe4f143ec9c8afdc4343e06ca6bbfa3;p=thirdparty%2FPython%2Fcpython.git Partial backport (only the bugfix) of sf #811294: dis.disassemble_string() broken. --- diff --git a/Lib/dis.py b/Lib/dis.py index f878d11ab911..b82a5d4feb95 100644 --- a/Lib/dis.py +++ b/Lib/dis.py @@ -137,8 +137,6 @@ def disassemble_string(code, lasti=-1, varnames=None, names=None, while i < n: c = code[i] op = ord(c) - if op == opmap['SET_LINENO'] and i > 0: - print # Extra blank line if i == lasti: print '-->', else: print ' ', if i in labels: print '>>',