]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function (#141306)
authorLakshya Upadhyaya <lakshya.upadhyaya05@gmail.com>
Sun, 9 Nov 2025 18:59:06 +0000 (00:29 +0530)
committerGitHub <noreply@github.com>
Sun, 9 Nov 2025 18:59:06 +0000 (19:59 +0100)
Doc/library/dis.rst

index 284eeff5e4dc7e560f8fd02d5e6c450a9b4ddef1..a24589fd0a5af38afca615b0ef2c5e3659c87763 100644 (file)
@@ -1673,9 +1673,13 @@ 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
+   * ``0x10`` the :term:`annotate function` for the function object
 
    .. versionadded:: 3.13
 
+   .. versionchanged:: 3.14
+      Added ``0x10`` to indicate the annotate function for the function object.
+
 
 .. opcode:: BUILD_SLICE (argc)