Commit 3065b87a authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Mention the behaviour of PyFunction_SetAnnotations() on error.

parent b0c81654
......@@ -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.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment