summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/c-api/function.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/function.rst b/Doc/c-api/function.rst
index ada974c..3512fe2 100644
--- a/Doc/c-api/function.rst
+++ b/Doc/c-api/function.rst
@@ -93,3 +93,5 @@ There are a few functions specific to Python functions.
Set the annotations for the function object *op*. *annotations*
must be a dictionary or *Py_None*.
+
+ Raises :exc:`SystemError` and returns ``-1`` on failure.