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

Skip to content

Commit 725cbce

Browse files
bpo-39677: dis: rename the operand of MAKE_FUNCTION from argc to flags for 3.6+ (GC-18550)
(cherry picked from commit 6672c16) Co-authored-by: Taine Zhao <twshere@outlook.com>
1 parent 148786a commit 725cbce

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
@@ -1142,7 +1142,7 @@ All of the following opcodes use their arguments.
11421142
.. versionadded:: 3.7
11431143

11441144

1145-
.. opcode:: MAKE_FUNCTION (argc)
1145+
.. opcode:: MAKE_FUNCTION (flags)
11461146

11471147
Pushes a new function object on the stack. From bottom to top, the consumed
11481148
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