Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[3.11] bpo-44530: Document the change in MAKE_FUNCTION behavior (GH-9…
…3189)

* 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 <alexdoesh@gmail.com>
  • Loading branch information
alexdoesh authored and carljm committed Jun 16, 2023
commit 3fe1112049c52e8112ad59731ed70d215bde9e7a
7 changes: 5 additions & 2 deletions Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down