]> granicus.if.org Git - python/commitdiff
FOR_ITER is a jrel_op() not a plain old def_op()
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 28 Aug 2001 15:32:48 +0000 (15:32 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 28 Aug 2001 15:32:48 +0000 (15:32 +0000)
Lib/dis.py

index 48ca176aeffdae40db3f319801d6420e135e0ae1..6a9d5cd2ea42545a70d24a094745b455f6be8520 100644 (file)
@@ -234,7 +234,7 @@ HAVE_ARGUMENT = 90              # Opcodes from here have an argument:
 name_op('STORE_NAME', 90)       # Index in name list
 name_op('DELETE_NAME', 91)      # ""
 def_op('UNPACK_SEQUENCE', 92)   # Number of tuple items
-def_op('FOR_ITER', 93)
+jrel_op('FOR_ITER', 93)
 
 name_op('STORE_ATTR', 95)       # Index in name list
 name_op('DELETE_ATTR', 96)      # ""