Skip to content

Commit 9ce361d

Browse files
miss-islingtonjd
andauthored
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 d4d17fd) Co-authored-by: Julien Danjou <[email protected]>
1 parent a207512 commit 9ce361d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/memory.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ tracemalloc C API
533533
534534
.. versionadded:: 3.7
535535
536-
.. c:function: int PyTraceMalloc_Track(unsigned int domain, uintptr_t ptr, size_t size)
536+
.. c:function:: int PyTraceMalloc_Track(unsigned int domain, uintptr_t ptr, size_t size)
537537
538538
Track an allocated memory block in the :mod:`tracemalloc` module.
539539
@@ -542,7 +542,7 @@ tracemalloc C API
542542
543543
If memory block is already tracked, update the existing trace.
544544
545-
.. c:function: int PyTraceMalloc_Untrack(unsigned int domain, uintptr_t ptr)
545+
.. c:function:: int PyTraceMalloc_Untrack(unsigned int domain, uintptr_t ptr)
546546
547547
Untrack an allocated memory block in the :mod:`tracemalloc` module.
548548
Do nothing if the block was not tracked.

0 commit comments

Comments
 (0)