]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-36317: Fix typo in _PyObject_FastCallDict documentation (GH-12383) (GH-12402)
authorRémi Lapeyre <remi.lapeyre@henki.fr>
Mon, 18 Mar 2019 11:51:23 +0000 (12:51 +0100)
committerVictor Stinner <vstinner@redhat.com>
Mon, 18 Mar 2019 11:51:23 +0000 (12:51 +0100)
(cherry picked from commit b4b97af8bed21e32eb77e7f7497acde1f8af4e70)

Include/abstract.h

index 4088f75ff3c7eead4b715d24aad3c13b3e7801af..3fe5a0064532ea0e6b73329213c0f2865c6ec332 100644 (file)
@@ -220,7 +220,7 @@ PyAPI_FUNC(int) _PyObject_HasFastCall(PyObject *callable);
    If nargs is equal to zero, args can be NULL. kwargs can be NULL.
    nargs must be greater or equal to zero.
 
-   Return the result on success. Raise an exception on return NULL on
+   Return the result on success. Raise an exception and return NULL on
    error. */
 PyAPI_FUNC(PyObject *) _PyObject_FastCallDict(
     PyObject *callable,