summaryrefslogtreecommitdiffstats
path: root/Lib/dis.py
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-08-30 13:09:51 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-08-30 13:09:51 (GMT)
commit53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1 (patch)
treed2cfada7ddfa673a343155bfbad7de1166ea3790 /Lib/dis.py
parentb05e056e9f17f68daf106e1b018d1bbab2943148 (diff)
downloadcpython-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.zip
cpython-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.tar.gz
cpython-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.tar.bz2
Further SET_LINENO reomval fixes. See comments in patch #587933.
Use a slightly different strategy to determine when not to call the line trace function. This removes the need for the RETURN_NONE opcode, so that's gone again. Update docs and comments to match. Thanks to Neal and Armin! Also add a test suite. This should have come with the original patch...
Diffstat (limited to 'Lib/dis.py')
-rw-r--r--Lib/dis.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/dis.py b/Lib/dis.py
index 4257729..30053bf 100644
--- a/Lib/dis.py
+++ b/Lib/dis.py
@@ -254,7 +254,6 @@ def_op('INPLACE_XOR', 78)
def_op('INPLACE_OR', 79)
def_op('BREAK_LOOP', 80)
-def_op('RETURN_NONE', 81)
def_op('LOAD_LOCALS', 82)
def_op('RETURN_VALUE', 83)
def_op('IMPORT_STAR', 84)