diff options
author | Julien Danjou <julien@danjou.info> | 2020-02-21 10:47:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 10:47:41 (GMT) |
commit | d4d17fd2cf69e7c8f4cd03fbf2d575370945b952 (patch) | |
tree | 37a9286b197024fb6d2cd0055910d49afe22115d /Doc | |
parent | c2ac4cf040ea950bf552d1e77bea613a1a5474fe (diff) | |
download | cpython-d4d17fd2cf69e7c8f4cd03fbf2d575370945b952.zip cpython-d4d17fd2cf69e7c8f4cd03fbf2d575370945b952.tar.gz cpython-d4d17fd2cf69e7c8f4cd03fbf2d575370945b952.tar.bz2 |
fix(doc): set correct RST syntax for c:function (GH-18589)
The current content is not rendered since the syntax is not correct.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/memory.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst index ba7bd3b..8a8542f 100644 --- a/Doc/c-api/memory.rst +++ b/Doc/c-api/memory.rst @@ -533,7 +533,7 @@ tracemalloc C API .. versionadded:: 3.7 -.. c:function: int PyTraceMalloc_Track(unsigned int domain, uintptr_t ptr, size_t size) +.. c:function:: int PyTraceMalloc_Track(unsigned int domain, uintptr_t ptr, size_t size) Track an allocated memory block in the :mod:`tracemalloc` module. @@ -542,7 +542,7 @@ tracemalloc C API If memory block is already tracked, update the existing trace. -.. c:function: int PyTraceMalloc_Untrack(unsigned int domain, uintptr_t ptr) +.. c:function:: int PyTraceMalloc_Untrack(unsigned int domain, uintptr_t ptr) Untrack an allocated memory block in the :mod:`tracemalloc` module. Do nothing if the block was not tracked. |