summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2023-06-16 17:17:58 (GMT)
committerGitHub <noreply@github.com>2023-06-16 17:17:58 (GMT)
commit7c877b58e05174847da17902342874a886798b59 (patch)
tree842a18597a4a1d543c1219125a51f79c9961dd8b /Doc/library
parente59033889325d4ac84e51800d615f9538708fb08 (diff)
downloadcpython-7c877b58e05174847da17902342874a886798b59.zip
cpython-7c877b58e05174847da17902342874a886798b59.tar.gz
cpython-7c877b58e05174847da17902342874a886798b59.tar.bz2
[3.11] bpo-44530: Document the change in MAKE_FUNCTION behavior (GH-93189) (#105842)
* bpo-44530: Document the change in MAKE_FUNCTION behavior Fixes dis module documentation for MAKE_FUNCTION due to https://github.com/python/cpython/commit/2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f (bpo-44530, released as part of 3.11) removes the qualified name at TOS. (cherry picked from commit 486b52a3158e0f64fc54efdfa34ed5437b3619f2) Co-authored-by: Alex Doe <alexdoesh@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/dis.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 7797938..7467f56 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -1260,12 +1260,15 @@ iterations of the loop.
* ``0x02`` a dictionary of keyword-only parameters' default values
* ``0x04`` a tuple of strings containing parameters' annotations
* ``0x08`` a tuple containing cells for free variables, making a closure
- * the code associated with the function (at TOS1)
- * the :term:`qualified name` of the function (at TOS)
+ * the code associated with the function (at TOS)
.. versionchanged:: 3.10
Flag value ``0x04`` is a tuple of strings instead of dictionary
+ .. versionchanged:: 3.11
+ Qualified name at TOS was removed.
+
+
.. opcode:: BUILD_SLICE (argc)
.. index:: pair: built-in function; slice