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

Miss Islington (bot) webhook-mailer at python.org
Sat Mar 14 10:45:28 EDT 2020


https://github.com/python/cpython/commit/a927e91186727b5184d774d1d99c70b9ff5497f5
commit: a927e91186727b5184d774d1d99c70b9ff5497f5
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-03-14T07:45:23-07:00
summary:

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

(cherry picked from commit 6672c16b1d7f83789bf3a2016bd19edfd3568e71)

Co-authored-by: Taine Zhao <twshere at outlook.com>

files:
A Misc/NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index b1404af9c00eb..f4dfe16c75402 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1198,7 +1198,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
index 0000000000000..3678a721fc6d7
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst
@@ -0,0 +1 @@
+Changed operand name of **MAKE_FUNCTION** from *argc* to *flags* for module :mod:`dis`



More information about the Python-checkins mailing list