mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
fix(doc): set correct RST syntax for c:function (GH-18589)
The current content is not rendered since the syntax is not correct.
This commit is contained in:
parent
c2ac4cf040
commit
d4d17fd2cf
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue