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

Skip to content

Commit a927e91

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

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
@@ -1198,7 +1198,7 @@ All of the following opcodes use their arguments.
11981198
.. versionadded:: 3.7
11991199

12001200

1201-
.. opcode:: MAKE_FUNCTION (argc)
1201+
.. opcode:: MAKE_FUNCTION (flags)
12021202

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