Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(36997)

Unified Diff: Lib/opcode.py

Issue 27095: Simplify MAKE_FUNCTION
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
--- a/Lib/opcode.py Sun Jun 12 15:53:09 2016 +0300
+++ b/Lib/opcode.py Sun Jun 12 16:28:15 2016 +0300
@@ -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)

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+