Mention the behaviour of PyFunction_SetAnnotations() on error.

This commit is contained in:
Alexandre Vassalotti 2008-07-13 22:28:42 +00:00
parent b0c81654f7
commit 3065b87a07
1 changed files with 2 additions and 0 deletions

View File

@ -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.