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
Update development-tools/clinic.rst
  • Loading branch information
erlend-aasland authored Dec 12, 2023
commit 1ce8b1608e79ff50e5af0282791ebe50bc23fea5
2 changes: 1 addition & 1 deletion development-tools/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2008,7 +2008,7 @@ How to declare PyGetSetDef functions
"Getters" and "setters" are C functions that facilitate property-like access for a class.
See :c:type:`getter <PyGetSetDef>` and :c:type:`setter <PyGetSetDef>` for details.
You can use the ``@getter`` and ``@setter`` directives to generate
"impl" functions for a getters and setters in Argument Clinic.
"impl" functions for getters and setters in Argument Clinic.
Comment thread
corona10 marked this conversation as resolved.
Outdated

This example --- taken from :cpy-file:`Modules/_io/textio.c` ---
shows the use of ``@getter`` and ``@setter`` in combination with
Expand Down