Skip to content

Commit 0ecbb7d

Browse files
committed
Fix docs build
1 parent ba574eb commit 0ecbb7d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/flint/types/_gr.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -644,8 +644,8 @@ cdef class gr_ctx(flint_ctx):
644644

645645
def factor(self, x) -> tuple[gr, list[tuple[gr, int]]]:
646646
"""
647-
Given an element of the context, this returns a factorization (c, f, e):
648-
x = c f₁^e₁ ··· fₙ^eₙ, where fₖ will be irreducible or prime depending on the ring.
647+
Given an element of the context, this returns a factorization ``(c, f, e)``:
648+
``x = c f₁^e₁ ··· fₙ^eₙ``, where ``fₖ`` will be irreducible or prime depending on the ring.
649649
The prefactor c stores a unit, sign or coefficient.
650650
Note that c is an element of the same ring as x.
651651
"""
@@ -733,9 +733,9 @@ cdef class gr_ctx(flint_ctx):
733733
def cmpabs(self, x, y) -> int:
734734
"""
735735
Returns:
736-
- -1 if |x| < |y|
737-
- 0 if |x| = |y|
738-
- 1 if |x| > |y|
736+
- -1 if `|x| < |y|`
737+
- 0 if `|x| = |y|`
738+
- 1 if `|x| > |y|`
739739
"""
740740
if isinstance(x, gr) and isinstance(y, gr):
741741
if x.ctx == self and y.ctx != self:

0 commit comments

Comments
 (0)