Skip to content

Commit dfbc4fc

Browse files
Commit
1 parent 4512ced commit dfbc4fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

development-tools/clinic/howto.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ See also :pep:`573`.
742742
How to write a custom converter
743743
-------------------------------
744744

745-
A converter is a Python class that inherits from :py:class:`CConverter`.
745+
A converter is a Python class that inherits from :py:class:`!CConverter`.
746746
The main purpose of a custom converter, is for parameters parsed with
747747
the ``O&`` format unit --- parsing such a parameter means calling
748748
a :c:func:`PyArg_ParseTuple` "converter function".
@@ -758,7 +758,7 @@ write a :py:meth:`!converter_init` method.
758758
After *self*, all additional parameters **must** be keyword-only.
759759
Any arguments passed to the converter in Argument Clinic
760760
will be passed along to your :py:meth:`!converter_init` method.
761-
See :py:class:`CConverter` for a list of members you may wish to specify in
761+
See :py:class:`!CConverter` for a list of members you may wish to specify in
762762
your subclass.
763763

764764
Here's the simplest example of a custom converter, from :cpy-file:`Modules/zlibmodule.c`::

0 commit comments

Comments
 (0)