Skip to content

Commit

Permalink
src/doc/en/developer/coding_in_python.rst: Fix sphinx markup
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Apr 18, 2024
1 parent 52001da commit 6f02bda
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/doc/en/developer/coding_in_python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ using one of two mechanisms:
For example, on Linux distributions that only ship newer versions
of Python, the backport packages may not be available as
system packages. Hence, if there is a need to use the backport
packages, they should be imported like this::
packages, they should be imported like this:

.. CODE-BLOCK:: python
import sys
Expand Down Expand Up @@ -103,7 +105,7 @@ eventually be changed so that the trailing underscore is always
included. This section describes these special methods.

All objects in Sage should derive from the Cython extension class
``SageObject``:
:class:`SageObject`:

.. CODE-BLOCK:: python
Expand Down

0 comments on commit 6f02bda

Please sign in to comment.