Skip to content

Commit 486b52a

Browse files
authored
bpo-44530: Document the change in MAKE_FUNCTION behavior (#93189)
* bpo-44530: Document the change in MAKE_FUNCTION behavior Fixes dis module documentation for MAKE_FUNCTION due to 2f180ce (bpo-44530, released as part of 3.11) removes the qualified name at TOS
1 parent 25a64fd commit 486b52a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Doc/library/dis.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,12 +1431,15 @@ iterations of the loop.
14311431
* ``0x02`` a dictionary of keyword-only parameters' default values
14321432
* ``0x04`` a tuple of strings containing parameters' annotations
14331433
* ``0x08`` a tuple containing cells for free variables, making a closure
1434-
* the code associated with the function (at ``STACK[-2]``)
1435-
* the :term:`qualified name` of the function (at ``STACK[-1]``)
1434+
* the code associated with the function (at ``STACK[-1]``)
14361435

14371436
.. versionchanged:: 3.10
14381437
Flag value ``0x04`` is a tuple of strings instead of dictionary
14391438

1439+
.. versionchanged:: 3.11
1440+
Qualified name at ``STACK[-1]`` was removed.
1441+
1442+
14401443
.. opcode:: BUILD_SLICE (argc)
14411444

14421445
.. index:: pair: built-in function; slice

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy