diff options
author | Taine Zhao <twshere@outlook.com> | 2020-03-14 14:24:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 14:24:06 (GMT) |
commit | 6672c16b1d7f83789bf3a2016bd19edfd3568e71 (patch) | |
tree | 7cc4703082aa3f9fb2cf77ef4e1495ff43696221 | |
parent | da52be47690da0d9f78d0dce9ee5c3e4dbef49e1 (diff) | |
download | cpython-6672c16b1d7f83789bf3a2016bd19edfd3568e71.zip cpython-6672c16b1d7f83789bf3a2016bd19edfd3568e71.tar.gz cpython-6672c16b1d7f83789bf3a2016bd19edfd3568e71.tar.bz2 |
bpo-39677: dis: rename the operand of MAKE_FUNCTION from `argc` to `flags` for 3.6+ (GC-18550)
-rw-r--r-- | Doc/library/dis.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2020-02-18-14-28-31.bpo-39677.vNHqoX.rst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 61233d9..020942b 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -1136,7 +1136,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 0000000..3678a72 --- /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` |