summaryrefslogtreecommitdiffstats
path: root/Doc/extending/extending.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-31 00:26:06 (GMT)
committerGitHub <noreply@github.com>2018-10-31 00:26:06 (GMT)
commit3f819ca138db6945ee4271bf13e42db9f9b3b1e4 (patch)
tree7eab13b4f9da0c8936d423cd633594cf83ba870f /Doc/extending/extending.rst
parent68f323715e6627c550d1e8ffed7e36f1bb4aa42b (diff)
downloadcpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.zip
cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.gz
cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.bz2
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
Diffstat (limited to 'Doc/extending/extending.rst')
-rw-r--r--Doc/extending/extending.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index 82b689e..b788a55 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -545,8 +545,9 @@ or more format codes between parentheses. For example::
:c:func:`PyObject_CallObject` returns a Python object pointer: this is the return
value of the Python function. :c:func:`PyObject_CallObject` is
"reference-count-neutral" with respect to its arguments. In the example a new
-tuple was created to serve as the argument list, which is :c:func:`Py_DECREF`\
--ed immediately after the :c:func:`PyObject_CallObject` call.
+tuple was created to serve as the argument list, which is
+:c:func:`Py_DECREF`\ -ed immediately after the :c:func:`PyObject_CallObject`
+call.
The return value of :c:func:`PyObject_CallObject` is "new": either it is a brand
new object, or it is an existing object whose reference count has been