Skip to content

Commit c5530c5

Browse files
author
Matthias Koeppe
committed
src/doc/en/developer/coding_in_python.rst: Fix sphinx markup
1 parent f729262 commit c5530c5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/doc/en/developer/coding_in_python.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ using one of two mechanisms:
5656
For example, on Linux distributions that only ship newer versions
5757
of Python, the backport packages may not be available as
5858
system packages. Hence, if there is a need to use the backport
59-
packages, they should be imported like this::
59+
packages, they should be imported like this:
60+
61+
.. CODE-BLOCK:: python
6062
6163
import sys
6264
@@ -102,7 +104,7 @@ eventually be changed so that the trailing underscore is always
102104
included. This section describes these special methods.
103105

104106
All objects in Sage should derive from the Cython extension class
105-
``SageObject``:
107+
:class:`SageObject`:
106108

107109
.. CODE-BLOCK:: python
108110

0 commit comments

Comments
 (0)