Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nit
  • Loading branch information
corona10 committed Dec 10, 2023
commit 3a4661d24508958ec8e23596f2c4460341be2695
2 changes: 1 addition & 1 deletion development-tools/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,7 @@ See :c:type:`getter <PyGetSetDef>` and :c:type:`setter <PyGetSetDef>` for detail
You can use the ``@getter`` and ``@setter`` directive to generate an "impl" function for a
getter using Argument Clinic.

This is example of ``@getter``-- taken from :cpy-file:`Modules/_io/textio.c` --
This examples -- taken from :cpy-file:`Modules/_io/textio.c` --
shows the use of ``@getter`` and ``@setter`` in combination with
the :ref:`@critical_section <clinic-howto-critical-sections>` directive
(which achieves thread safety without causing deadlocks between threads)::
Expand Down