summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-02 07:33:46 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-02 07:33:46 (GMT)
commit7344285c1919e5ade8016a83a3ee02fd637a030d (patch)
treef5ac9aea45f055c175d1c462f63eb4fb341830b0 /Lib/opcode.py
parent8f0f2056499847999fffa7af7a8872500a191203 (diff)
downloadcpython-7344285c1919e5ade8016a83a3ee02fd637a030d.zip
cpython-7344285c1919e5ade8016a83a3ee02fd637a030d.tar.gz
cpython-7344285c1919e5ade8016a83a3ee02fd637a030d.tar.bz2
Issue #28257: Improved error message when pass a non-iterable as
a var-positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL.
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index be26475..b5916b6 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -196,8 +196,6 @@ def_op('MAP_ADD', 147)
def_op('LOAD_CLASSDEREF', 148)
hasfree.append(148)
-jrel_op('SETUP_ASYNC_WITH', 154)
-
def_op('EXTENDED_ARG', 144)
EXTENDED_ARG = 144
@@ -207,8 +205,11 @@ def_op('BUILD_MAP_UNPACK_WITH_CALL', 151)
def_op('BUILD_TUPLE_UNPACK', 152)
def_op('BUILD_SET_UNPACK', 153)
+jrel_op('SETUP_ASYNC_WITH', 154)
+
def_op('FORMAT_VALUE', 155)
def_op('BUILD_CONST_KEY_MAP', 156)
def_op('BUILD_STRING', 157)
+def_op('BUILD_TUPLE_UNPACK_WITH_CALL', 158)
del def_op, name_op, jrel_op, jabs_op