summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/function.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-10 05:44:01 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-10 05:44:01 (GMT)
commitc04fb56e36999a4162e6ccfe1f9357100abaee99 (patch)
tree68f930a7b0956c487f671f6868fc00bac6edafb7 /Doc/c-api/function.rst
parent96a4f07107476c0038ff1302b7ef779cab07e8ae (diff)
downloadcpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.zip
cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.gz
cpython-c04fb56e36999a4162e6ccfe1f9357100abaee99.tar.bz2
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the meaning is clear.
Diffstat (limited to 'Doc/c-api/function.rst')
-rw-r--r--Doc/c-api/function.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/function.rst b/Doc/c-api/function.rst
index ad98322..4c74dc8 100644
--- a/Doc/c-api/function.rst
+++ b/Doc/c-api/function.rst
@@ -40,7 +40,7 @@ There are a few functions specific to Python functions.
.. c:function:: PyObject* PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname)
- As :c:func:`PyFunction_New`, but also allows to set the function object's
+ As :c:func:`PyFunction_New`, but also allows setting the function object's
``__qualname__`` attribute. *qualname* should be a unicode object or NULL;
if NULL, the ``__qualname__`` attribute is set to the same value as its
``__name__`` attribute.