Skip to content

Commit 6f20ea1

Browse files
gh-140980: document SET_FUNCTION_ATTRIBUTE flag for annotate function (#141306)
1 parent 807db68 commit 6f20ea1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/dis.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,9 +1673,13 @@ iterations of the loop.
16731673
* ``0x02`` a dictionary of keyword-only parameters' default values
16741674
* ``0x04`` a tuple of strings containing parameters' annotations
16751675
* ``0x08`` a tuple containing cells for free variables, making a closure
1676+
* ``0x10`` the :term:`annotate function` for the function object
16761677

16771678
.. versionadded:: 3.13
16781679

1680+
.. versionchanged:: 3.14
1681+
Added ``0x10`` to indicate the annotate function for the function object.
1682+
16791683

16801684
.. opcode:: BUILD_SLICE (argc)
16811685

0 commit comments

Comments
 (0)