summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/memory.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-02-09 11:31:19 (GMT)
committerGitHub <noreply@github.com>2018-02-09 11:31:19 (GMT)
commit5bb0005f9ff768ac443924b4bb26c3818ce8dc5a (patch)
treef9a5f2ba1d855d62955e649e6054fc515f47ed70 /Doc/c-api/memory.rst
parent23cdbfa744f0ec0e9e7575d378df4cb758691cd3 (diff)
downloadcpython-5bb0005f9ff768ac443924b4bb26c3818ce8dc5a.zip
cpython-5bb0005f9ff768ac443924b4bb26c3818ce8dc5a.tar.gz
cpython-5bb0005f9ff768ac443924b4bb26c3818ce8dc5a.tar.bz2
Make formatting of some return codes conforming to the general style. (#5587)
Diffstat (limited to 'Doc/c-api/memory.rst')
-rw-r--r--Doc/c-api/memory.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index 2af0c46..73ae6db 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -530,7 +530,7 @@ tracemalloc C API
Track an allocated memory block in the :mod:`tracemalloc` module.
- Return 0 on success, return ``-1`` on error (failed to allocate memory to
+ Return ``0`` on success, return ``-1`` on error (failed to allocate memory to
store the trace). Return ``-2`` if tracemalloc is disabled.
If memory block is already tracked, update the existing trace.