]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39677: dis: rename the operand of MAKE_FUNCTION from `argc` to `flags` for 3...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 14 Mar 2020 14:45:11 +0000 (07:45 -0700)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2020 14:45:11 +0000 (07:45 -0700)
(cherry picked from commit 6672c16b1d7f83789bf3a2016bd19edfd3568e71)

Co-authored-by: Taine Zhao <twshere@outlook.com>
Doc/library/dis.rst
Misc/NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst [new file with mode: 0644]

index 5c29c61a6fef43374e2132dd1e1d3624aba8c28a..0cfcc6982593273f7b3865e3314726e265da4a0d 100644 (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
diff --git a/Misc/NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst b/Misc/NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst
new file mode 100644 (file)
index 0000000..3678a72
--- /dev/null
@@ -0,0 +1 @@
+Changed operand name of **MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`