From 86c63099edbb40fbcabac386cc5db48f8739bce9 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 9 Nov 2025 20:04:48 +0100 Subject: [PATCH] [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 --- Doc/library/dis.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 593720f57389..ff4681dcb0e8 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) -- 2.47.3