diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/howto/cporting.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index 6dd0765..9d8a1b0 100644 --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -253,7 +253,7 @@ behave slightly differently from real Capsules. Specifically: * :c:func:`PyCapsule_GetName` always returns NULL. - * :c:func:`PyCapsule_SetName` always throws an exception and + * :c:func:`PyCapsule_SetName` always raises an exception and returns failure. (Since there's no way to store a name in a CObject, noisy failure of :c:func:`PyCapsule_SetName` was deemed preferable to silent failure here. If this is |