Skip to content

Commit b3e811d

Browse files
committed
Fix markup.
1 parent f640f05 commit b3e811d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/howto/free-threading-extensions.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,13 +334,13 @@ This means you cannot rely on nested critical sections to lock multiple objects
334334
at once, as the inner critical section may suspend the outer ones. Instead, use
335335
:c:macro:`Py_BEGIN_CRITICAL_SECTION2` to lock two objects simultaneously.
336336

337-
Note that the locks described above are only `PyMutex` based locks. The
338-
critical section implementation does not know about or affect other locking
337+
Note that the locks described above are only :c:type:`!PyMutex` based locks.
338+
The critical section implementation does not know about or affect other locking
339339
mechanisms that might be in use, like POSIX mutexes. Also note that while
340-
blocking on any `PyMutex` causes the critical sections to be suspended, only
341-
the mutexes that are part of the critical sections are released. If `PyMutex`
342-
is used without a critical section, it will not be released and therefore does
343-
not get the same deadlock avoidance.
340+
blocking on any :c:type:`!PyMutex` causes the critical sections to be
341+
suspended, only the mutexes that are part of the critical sections are
342+
released. If :c:type:`!PyMutex` is used without a critical section, it will
343+
not be released and therefore does not get the same deadlock avoidance.
344344

345345
Important Considerations
346346
........................

0 commit comments

Comments
 (0)