diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-02-09 11:31:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 11:31:19 (GMT) |
commit | 5bb0005f9ff768ac443924b4bb26c3818ce8dc5a (patch) | |
tree | f9a5f2ba1d855d62955e649e6054fc515f47ed70 /Doc/c-api/memory.rst | |
parent | 23cdbfa744f0ec0e9e7575d378df4cb758691cd3 (diff) | |
download | cpython-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.rst | 2 |
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. |