Skip to content

Commit 40019d0

Browse files
Resolve two reference warnings in the Clinic HOWTO (#1699)
1 parent 1cfdb00 commit 40019d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

development-tools/clinic/howto.rst

Lines changed: 3 additions & 3 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:`~clinic.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,8 +758,8 @@ 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
762-
your subclass.
761+
See :py:class:`~clinic.CConverter` for a list of members you may wish to specify
762+
in your subclass.
763763

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

0 commit comments

Comments
 (0)