bpo-39677: dis: rename the operand of MAKE_FUNCTION from `argc` to `flags` for 3.6+ (GC-18550)

(cherry picked from commit 6672c16b1d)

Co-authored-by: Taine Zhao <twshere@outlook.com>
This commit is contained in:
Miss Islington (bot) 2020-03-14 07:45:11 -07:00 committed by GitHub
parent 148786a2cd
commit 725cbce250
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1142,7 +1142,7 @@ All of the following opcodes use their arguments.
.. versionadded:: 3.7
.. opcode:: MAKE_FUNCTION (argc)
.. opcode:: MAKE_FUNCTION (flags)
Pushes a new function object on the stack. From bottom to top, the consumed
stack must consist of values if the argument carries a specified flag value

View File

@ -0,0 +1 @@
Changed operand name of **MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`