Skip to content

Commit 7c877b5

Browse files
carljmalexdoesh
andauthored
[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 2f180ce (bpo-44530, released as part of 3.11) removes the qualified name at TOS. (cherry picked from commit 486b52a) Co-authored-by: Alex Doe <[email protected]>
1 parent e590338 commit 7c877b5

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
@@ -1260,12 +1260,15 @@ iterations of the loop.
12601260
* ``0x02`` a dictionary of keyword-only parameters' default values
12611261
* ``0x04`` a tuple of strings containing parameters' annotations
12621262
* ``0x08`` a tuple containing cells for free variables, making a closure
1263-
* the code associated with the function (at TOS1)
1264-
* the :term:`qualified name` of the function (at TOS)
1263+
* the code associated with the function (at TOS)
12651264

12661265
.. versionchanged:: 3.10
12671266
Flag value ``0x04`` is a tuple of strings instead of dictionary
12681267

1268+
.. versionchanged:: 3.11
1269+
Qualified name at TOS was removed.
1270+
1271+
12691272
.. opcode:: BUILD_SLICE (argc)
12701273

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

0 commit comments

Comments
 (0)