Skip to content

Commit 464f559

Browse files
committed
Nested inline markup is not possible
1 parent 2a3719e commit 464f559

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/en/thematic_tutorials/coercion_and_categories.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ This basic implementation is formed by the following steps:
186186

187187
- Python uses double\--underscore methods for arithmetic methods and string
188188
representations. Sage's base classes often have a default implementation,
189-
and it is requested to **implement SINGLE underscore methods ``_repr_``, and
190-
similarly ``_add_``, ``_mul_`` etc.**
189+
and it is requested to **implement SINGLE underscore methods _repr_, and
190+
similarly _add_, _mul_ etc.**
191191

192192
The double underscore methods that can be implemented by subclasses are
193193
listed above.
@@ -273,7 +273,7 @@ considerations:
273273
from those already present in Sage, we use a different string representation.
274274

275275
- Arithmetic is implemented in single\--underscore method ``_add_``, ``_mul_``,
276-
etc. **We do not override the default double underscore ``__add__``, ``__mul__``**,
276+
etc. **We do not override the default double underscore __add__, __mul__**,
277277
since otherwise, we could not use Sage's coercion model.
278278

279279
The double underscore methods that can be implemented by subclasses are

0 commit comments

Comments
 (0)