summaryrefslogtreecommitdiffstats
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
commitbdfcfccbe591e15221f35add01132174c9b4e669 (patch)
tree7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Lib/dis.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
Diffstat (limited to 'Lib/dis.py')
-rw-r--r--Lib/dis.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index 7eaaeaf..28faee0 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -22,8 +22,8 @@ def disassemble(co, lasti):
while i < n:
c = code[i]
op = ord(c)
- if op = SET_LINENO and i > 0: print # Extra blank line
- if i = lasti: print '-->',
+ if op == SET_LINENO and i > 0: print # Extra blank line
+ if i == lasti: print '-->',
else: print ' ',
if i in labels: print '>>',
else: print ' ',