summaryrefslogtreecommitdiff
path: root/Doc/extending
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-10-31 02:26:06 +0200
committerGitHub <noreply@github.com>2018-10-31 02:26:06 +0200
commit3f819ca138db6945ee4271bf13e42db9f9b3b1e4 (patch)
tree7eab13b4f9da0c8936d423cd633594cf83ba870f /Doc/extending
parent68f323715e6627c550d1e8ffed7e36f1bb4aa42b (diff)
downloadcpython-git-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.gz
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
Diffstat (limited to 'Doc/extending')
-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 82b689e064..b788a5575b 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