Skip to content

Commit

Permalink
sagemath#37377 fix/improve docs based on reviewer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mezzarobba committed Mar 21, 2024
1 parent 2dc3428 commit 7aa97fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/sage/rings/fraction_field_FpT.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ class FpT(FractionField_1poly_field):
"""
INPUT:
- ``R`` -- A dense polynomial ring over a finite field of prime order `p` with `2 < p < 2^16`
- ``R`` -- a dense polynomial ring over a finite field of prime order
`p` with `2 < p < 2^{16}`
EXAMPLES::
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/polynomial_modn_dense_ntl.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ cdef class Polynomial_dense_modn_ntl_zz(Polynomial_dense_mod_n):
sage: type(R(0)^0) == type(R(0))
True
Negative powers work (over prime fields) but use a generic
Negative powers work (over prime fields) but use the generic
implementation of fraction fields::
sage: R.<x> = PolynomialRing(Integers(101), implementation='NTL')
Expand Down
6 changes: 3 additions & 3 deletions src/sage/rings/polynomial/polynomial_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -2456,7 +2456,7 @@ def lagrange_polynomial(self, points, algorithm="divided_difference", previous_r
@cached_method
def fraction_field(self):
"""
Returns the fraction field of self.
Return the fraction field of ``self``.
EXAMPLES::
Expand All @@ -2482,7 +2482,7 @@ def fraction_field(self):
sage: t(x)
x
Issue :issue:`37374`:
Fixed :issue:`37374`::
sage: x = PolynomialRing(GF(37), ['x'], sparse=True).fraction_field().gen()
sage: type(x.numerator())
Expand Down Expand Up @@ -3565,7 +3565,7 @@ def irreducible_element(self, n, algorithm=None):
@cached_method
def fraction_field(self):
"""
Returns the fraction field of self.
Return the fraction field of ``self``.
EXAMPLES::
Expand Down

0 comments on commit 7aa97fa

Please sign in to comment.