summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-02-09 12:48:31 (GMT)
committerGitHub <noreply@github.com>2018-02-09 12:48:31 (GMT)
commit3d4a174c0e3ca793d6bc827acbfd1e920c01a8d1 (patch)
treed641b5e88bdf6de729ee78bc34d49d74c70c322c /Doc/c-api/init.rst
parentfe92c441519d0c4fc93bb98fc1bb4e225dea44c4 (diff)
downloadcpython-3d4a174c0e3ca793d6bc827acbfd1e920c01a8d1.zip
cpython-3d4a174c0e3ca793d6bc827acbfd1e920c01a8d1.tar.gz
cpython-3d4a174c0e3ca793d6bc827acbfd1e920c01a8d1.tar.bz2
[3.6] Make formatting of some return codes conforming to the general style. (GH-5587). (GH-5598)
(cherry picked from commit 5bb0005f9ff768ac443924b4bb26c3818ce8dc5a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r--Doc/c-api/init.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index c8d429d..f601476 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -64,8 +64,8 @@ Initializing and finalizing the interpreter
the last call to :c:func:`Py_Initialize`. Ideally, this frees all memory
allocated by the Python interpreter. This is a no-op when called for a second
time (without calling :c:func:`Py_Initialize` again first). Normally the
- return value is 0. If there were errors during finalization
- (flushing buffered data), -1 is returned.
+ return value is ``0``. If there were errors during finalization
+ (flushing buffered data), ``-1`` is returned.
This function is provided for a number of reasons. An embedding application
might want to restart Python without having to restart the application itself.