Skip to content

Commit

Permalink
Update Doc/c-api/init.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
  • Loading branch information
colesbury and ngoldbaum authored Oct 1, 2024
1 parent eddb0b1 commit 74d886d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/c-api/init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2229,8 +2229,8 @@ their behavior is similar to the :term:`GIL`.
Critical sections are appropriate for protecting custom types defined by your
C-API extensions. They should generally not be used with built-in types like
:c:struct:`PyDictObject` or :c:struct:`PyListObject` because their public APIs
already use critical sections internally, with the notable exception of
:c:func:`PyDict_Next`.
already use critical sections internally, with the :ref:`notable
exception<PyDict_Next>` of :c:func:`PyDict_Next`.
The functions and structs used by the macros are exposed for cases
where C macros are not available. They should only be used as in the
Expand Down

0 comments on commit 74d886d

Please sign in to comment.