File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments