8000 bpo-39677: dis: rename the operand of MAKE_FUNCTION from `argc` to `f… · python/cpython@6672c16 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6672c16

Browse files
authored
bpo-39677: dis: rename the operand of MAKE_FUNCTION from argc to flags for 3.6+ (GC-18550)
1 parent da52be4 commit 6672c16

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Doc/library/dis.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ All of the following opcodes use their arguments.
11361136
.. versionadded:: 3.7
11371137

11381138

1139-
.. opcode:: MAKE_FUNCTION (argc)
1139+
.. opcode:: MAKE_FUNCTION (flags)
11401140

11411141
Pushes a new function object on the stack. From bottom to top, the consumed
11421142
stack must consist of values if the argument carries a specified flag value
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changed operand name of **MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`

0 commit comments

Comments
 (0)
0