https://github.com/python/cpython/commit/86c63099edbb40fbcabac386cc5db48f8739bce9
commit: 86c63099edbb40fbcabac386cc5db48f8739bce9
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: picnixz <[email protected]>
date: 2025-11-09T19:04:48Z
summary:

[3.14] gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` 
function  (GH-141306) (#141316)

gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function  
(GH-141306)
(cherry picked from commit 6f20ea1e2d302b7b88d64b6786abbad1747ff950)

Co-authored-by: Lakshya Upadhyaya <[email protected]>

files:
M Doc/library/dis.rst

diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 593720f5738911..ff4681dcb0e8a7 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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)
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to