Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 318e167

Browse files
committed
FOR_ITER is a jrel_op() not a plain old def_op()
1 parent d800cff commit 318e167

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/dis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def jabs_op(name, op):
234234
name_op('STORE_NAME', 90) # Index in name list
235235
name_op('DELETE_NAME', 91) # ""
236236
def_op('UNPACK_SEQUENCE', 92) # Number of tuple items
237-
def_op('FOR_ITER', 93)
237+
jrel_op('FOR_ITER', 93)
238238

239239
name_op('STORE_ATTR', 95) # Index in name list
240240
name_op('DELETE_ATTR', 96) # ""

0 commit comments

Comments
 (0)