[Python-3000-checkins] r64935 - python/branches/py3k/Doc/c-api/function.rst
alexandre.vassalotti
python-3000-checkins at python.org
Mon Jul 14 00:28:42 CEST 2008
Author: alexandre.vassalotti
Date: Mon Jul 14 00:28:42 2008
New Revision: 64935
Log:
Mention the behaviour of PyFunction_SetAnnotations() on error.
Modified:
python/branches/py3k/Doc/c-api/function.rst
Modified: python/branches/py3k/Doc/c-api/function.rst
==============================================================================
--- python/branches/py3k/Doc/c-api/function.rst (original)
+++ python/branches/py3k/Doc/c-api/function.rst Mon Jul 14 00:28:42 2008
@@ -93,3 +93,5 @@
Set the annotations for the function object *op*. *annotations*
must be a dictionary or *Py_None*.
+
+ Raises :exc:`SystemError` and returns ``-1`` on failure.
More information about the Python-3000-checkins
mailing list