]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-44530: Document the change in MAKE_FUNCTION behavior (#93189)
authorAlex Doe <alexdoesh@gmail.com>
Fri, 16 Jun 2023 00:04:57 +0000 (18:04 -0600)
committerGitHub <noreply@github.com>
Fri, 16 Jun 2023 00:04:57 +0000 (19:04 -0500)
* 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

Doc/library/dis.rst

index 714dbc38f168ae966361e7fd3b938fc7b5bffb18..c6f08affcbf2d058493dc1808fca8e681a435e67 100644 (file)
@@ -1431,12 +1431,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 ``STACK[-2]``)
-   * the :term:`qualified name` of the function (at ``STACK[-1]``)
+   * the code associated with the function (at ``STACK[-1]``)
 
    .. versionchanged:: 3.10
       Flag value ``0x04`` is a tuple of strings instead of dictionary
 
+   .. versionchanged:: 3.11
+      Qualified name at ``STACK[-1]`` was removed.
+
+
 .. opcode:: BUILD_SLICE (argc)
 
    .. index:: pair: built-in function; slice