[Python-checkins] Fix typo in _PyObject_FastCallDict documentation (GH-12383)

Victor Stinner webhook-mailer at python.org
Mon Mar 18 06:07:57 EDT 2019


https://github.com/python/cpython/commit/b4b97af8bed21e32eb77e7f7497acde1f8af4e70
commit: b4b97af8bed21e32eb77e7f7497acde1f8af4e70
branch: master
author: Rémi Lapeyre <remi.lapeyre at henki.fr>
committer: Victor Stinner <vstinner at redhat.com>
date: 2019-03-18T11:07:53+01:00
summary:

Fix typo in _PyObject_FastCallDict documentation (GH-12383)

files:
M Include/cpython/abstract.h

diff --git a/Include/cpython/abstract.h b/Include/cpython/abstract.h
index 991bea14ebf0..b8b2d449faf3 100644
--- a/Include/cpython/abstract.h
+++ b/Include/cpython/abstract.h
@@ -66,7 +66,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,



More information about the Python-checkins mailing list