https://github.com/python/cpython/commit/6f20ea1e2d302b7b88d64b6786abbad1747ff950
commit: 6f20ea1e2d302b7b88d64b6786abbad1747ff950
branch: main
author: Lakshya Upadhyaya <[email protected]>
committer: picnixz <[email protected]>
date: 2025-11-09T19:59:06+01:00
summary:
gh-140980: document `SET_FUNCTION_ATTRIBUTE` flag for `annotate` function
(#141306)
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 284eeff5e4dc7e..a24589fd0a5af3 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]