diff options
Diffstat (limited to 'doc/tutorial/describing-code.rst')
-rw-r--r-- | doc/tutorial/describing-code.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial/describing-code.rst b/doc/tutorial/describing-code.rst index 16feb2a..e8c6a80 100644 --- a/doc/tutorial/describing-code.rst +++ b/doc/tutorial/describing-code.rst @@ -75,7 +75,7 @@ Cross-referencing Python objects By default, most of these directives generate entities that can be cross-referenced from any part of the documentation by using -:ref:`a corresponding role <python-roles>`. For the case of functions, +:ref:`a corresponding role <python-xref-roles>`. For the case of functions, you can use :rst:role:`py:func` for that, as follows: .. code-block:: rst |