Skip to content

Commit 418e9ed

Browse files
authored
Apply suggestions from code review
1 parent 86b59b2 commit 418e9ed

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/sage/rings/padics/lattice_precision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2689,7 +2689,7 @@ def precision_lattice(self, elements=None):
26892689
[ 0 2048]
26902690
26912691
If the precision module does not project to a lattice,
2692-
an error is raised.::
2692+
an error is raised. ::
26932693
26942694
sage: prec.precision_lattice([x, y, u, v])
26952695
Traceback (most recent call last):

src/sage/rings/padics/padic_base_leaves.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ def _coerce_map_from_(self, R):
913913
False
914914
915915
Similarly there is no coercion maps between ``p``-adic rings with
916-
different labels.::
916+
different labels. ::
917917
918918
sage: R2 = ZpLC(2, label='coerce')
919919
sage: R.has_coerce_map_from(R2)
@@ -1033,7 +1033,7 @@ def _coerce_map_from_(self, R):
10331033
True
10341034
10351035
Note that coerce map does not exist between ``p``-adic fields with
1036-
lattice precision and other ``p``-adic rings.::
1036+
lattice precision and other ``p``-adic rings. ::
10371037
10381038
sage: L = Qp(2)
10391039
sage: K.has_coerce_map_from(L)

src/sage/rings/polynomial/ore_function_element.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def reduced_norm(self, var=None):
906906
(z + 2)/(z^2 + 4)
907907
908908
The reduced norm lies in the center of `S`, which is the fraction field
909-
of a univariate polynomial ring in the variable `z = x^3` over `GF(5)`.::
909+
of a univariate polynomial ring in the variable `z = x^3` over `GF(5)`. ::
910910
911911
sage: N.parent()
912912
Fraction Field of Univariate Polynomial Ring in z over Finite Field of size 5

src/sage/rings/polynomial/term_order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ def singular_moreblocks(self):
17901790
TESTS:
17911791
17921792
The 'degneglex' ordering is somehow special: SINGULAR handles it
1793-
using an extra weight vector block.::
1793+
using an extra weight vector block. ::
17941794
17951795
sage: T = TermOrder("degneglex", 2)
17961796
sage: P = PolynomialRing(QQ,2, names='x', order=T)

0 commit comments

Comments
 (0)