[Python-checkins] fix(doc): set correct RST syntax for c:function (GH-18589)
Miss Islington (bot)
webhook-mailer at python.org
Fri Feb 21 05:54:04 EST 2020
https://github.com/python/cpython/commit/9ce361d3bb15cf49b82fa03e3e593d7cbd8ee1ff
commit: 9ce361d3bb15cf49b82fa03e3e593d7cbd8ee1ff
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-02-21T02:54:00-08:00
summary:
fix(doc): set correct RST syntax for c:function (GH-18589)
The current content is not rendered since the syntax is not correct.
(cherry picked from commit d4d17fd2cf69e7c8f4cd03fbf2d575370945b952)
Co-authored-by: Julien Danjou <julien at danjou.info>
files:
M Doc/c-api/memory.rst
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index ba7bd3b9a5387..8a8542f0479ec 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.
More information about the Python-checkins
mailing list