diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-12 14:36:24 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-06-12 14:36:24 (GMT) |
commit | 64204de04cb24bb70b1cf011d812d35c8ff40337 (patch) | |
tree | 08fd1decdb9c3d56d2b863863d4d2dd5ff074b7e /Lib/opcode.py | |
parent | 5697c4b6419e5a90a59e616e4509a6fff7ebf1a8 (diff) | |
download | cpython-64204de04cb24bb70b1cf011d812d35c8ff40337.zip cpython-64204de04cb24bb70b1cf011d812d35c8ff40337.tar.gz cpython-64204de04cb24bb70b1cf011d812d35c8ff40337.tar.bz2 |
Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.
Patch by Demur Rumed.
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 2303407..0640819 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -173,9 +173,8 @@ haslocal.append(126) def_op('RAISE_VARARGS', 130) # Number of raise arguments (1, 2, or 3) def_op('CALL_FUNCTION', 131) # #args + (#kwargs << 8) hasnargs.append(131) -def_op('MAKE_FUNCTION', 132) # Number of args with default values +def_op('MAKE_FUNCTION', 132) # Flags def_op('BUILD_SLICE', 133) # Number of items -def_op('MAKE_CLOSURE', 134) def_op('LOAD_CLOSURE', 135) hasfree.append(135) def_op('LOAD_DEREF', 136) |