Skip to content

Commit ff55027

Browse files
committed
Fix the limited C API cross-reference
1 parent 2e3b673 commit ff55027

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

development-tools/clinic.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ The CLI supports the following options:
189189

190190
.. option:: --limited
191191

192-
Use the :ref:`Limited API <limited-c-api>` to parse arguments in the generated C code.
192+
Use the :ref:`Limited API <python:limited-c-api>` to parse arguments in the generated C code.
193193
See :ref:`clinic-howto-limited-capi`.
194194

195195
.. option:: FILE ...
@@ -1911,7 +1911,7 @@ How to use the Limited C API
19111911

19121912
If Argument Clinic :term:`input` is located within a C source file
19131913
that contains ``#define Py_LIMITED_API``, Argument Clinic will generate C code
1914-
that uses the :ref:`Limited API <limited-c-api>` to parse arguments. The
1914+
that uses the :ref:`Limited API <python:limited-c-api>` to parse arguments. The
19151915
advantage of this is that the generated code will not use private functions.
19161916
However, this *can* result in Argument Clinic generating less efficient code
19171917
in some cases. The extent of the performance penalty will depend

0 commit comments

Comments
 (0)