mirror of https://github.com/python/cpython.git
Mention the behaviour of PyFunction_SetAnnotations() on error.
This commit is contained in:
parent
b0c81654f7
commit
3065b87a07
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue