gh-140980: document SET_FUNCTION_ATTRIBUTE flag for annotate function (#141306)

This commit is contained in:
Lakshya Upadhyaya 2025-11-10 00:29:06 +05:30 committed by GitHub
parent 807db68ddd
commit 6f20ea1e2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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)