diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -252,17 +252,17 @@ behave slightly differently from real Ca of the name is performed. * :c:func:`PyCapsule_GetName` always returns NULL. * :c:func:`PyCapsule_SetName` always throws 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 - inconveient, feel free to modify your local + inconvenient, feel free to modify your local copy as you see fit.) You can find :file:`capsulethunk.h` in the Python source distribution as :source:`Doc/includes/capsulethunk.h`. We also include it here for your convenience: .. literalinclude:: ../includes/capsulethunk.h