Skip to content

Commit aa6c3d3

Browse files
committed
Fix rst in docstrings for pow_trunc
1 parent a311409 commit aa6c3d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/flint/types/fmpz_mod_poly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ cdef class fmpz_mod_poly(flint_poly):
16601660
:math:`f^e \mod x^n`/
16611661
16621662
Note: For exponents larger that 2^31 (which do not fit inside a ulong) use the
1663-
method :method:`~.pow_mod` with the explicit modulus `x^n`.
1663+
method :meth:`~.pow_mod` with the explicit modulus `x^n`.
16641664
16651665
>>> R = fmpz_mod_poly_ctx(163)
16661666
>>> x = R.gen()

src/flint/types/fq_default_poly.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@ cdef class fq_default_poly(flint_poly):
11391139
:math:`f^e \mod x^n`/
11401140
11411141
Note: For exponents larger that 2^31 (which do not fit inside a ulong) use the
1142-
method :method:`~.pow_mod` with the explicit modulus `x^n`.
1142+
method :meth:`~.pow_mod` with the explicit modulus `x^n`.
11431143
11441144
>>> R = fq_default_poly_ctx(163)
11451145
>>> x = R.gen()

0 commit comments

Comments
 (0)