Skip to content

Commit 53b69df

Browse files
committed
fix the doctests in element.pyx by using a base field.
1 parent b38acf4 commit 53b69df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/structure/element.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2655,11 +2655,11 @@ cdef class RingElement(ModuleElement):
26552655

26562656
cpdef _pow_int(self, n) noexcept:
26572657
"""
2658-
Return the (integral) power of self.
2658+
Return the (integral) power of ``self``.
26592659
26602660
EXAMPLES::
26612661
2662-
sage: a = Integers(389)['x']['y'](37)
2662+
sage: a = GF(389)['x']['y'](37)
26632663
sage: p = sage.structure.element.RingElement.__pow__
26642664
sage: p(a,2)
26652665
202

0 commit comments

Comments
 (0)