Skip to content

Commit b0176a7

Browse files
committed
Add missing versionadded directive.
1 parent 0c254cf commit b0176a7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/function.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,15 @@ There are a few functions specific to Python functions.
155155
Return the annotations of the function object *op*. This can be a
156156
mutable dictionary or ``NULL``.
157157
158+
.. versionadded:: 3.0
159+
158160
159161
.. c:function:: PyObject *PyFunction_GET_ANNOTATIONS(PyObject *op)
160162
161163
Equivalent to :c:func:`PyFunction_GetAnnotations`, but without error checking.
162164
165+
.. versionadded:: 3.0
166+
163167
164168
.. c:function:: int PyFunction_SetAnnotations(PyObject *op, PyObject *annotations)
165169
@@ -168,6 +172,8 @@ There are a few functions specific to Python functions.
168172
169173
Raises :exc:`SystemError` and returns ``-1`` on failure.
170174
175+
.. versionadded:: 3.0
176+
171177
172178
.. c:function:: int PyFunction_AddWatcher(PyFunction_WatchCallback callback)
173179

0 commit comments

Comments
 (0)