Skip to content

Commit 2a0d834

Browse files
committed
merge
2 parents ae45315 + 909d3df commit 2a0d834

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/sage/rings/integer.pyx

+4-3
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,8 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
14741474

14751475
def is_power(self):
14761476
r"""
1477-
Returns \code{True} if self is a perfect power, ie if there exist integers a and b, b > 1 with self = a^b.
1477+
Returns \code{True} if self is a perfect power, ie if there
1478+
exist integers a and b, $b > 1$ with $self = a^b$.
14781479
14791480
EXAMPLES:
14801481
sage: Integer(-27).is_power()
@@ -1486,7 +1487,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
14861487

14871488
cdef int _is_power_of(Integer self, Integer n):
14881489
r"""
1489-
Returns a non-zero int if there is an integer b with self = n^b
1490+
Returns a non-zero int if there is an integer b with $self = n^b$.
14901491
14911492
For more documentation see \code{is_power_of}
14921493
@@ -1604,7 +1605,7 @@ cdef class Integer(sage.structure.element.EuclideanDomainElement):
16041605

16051606
def is_power_of(Integer self, n):
16061607
r"""
1607-
Returns \code{True} if there is an integer b with self = n^b
1608+
Returns \code{True} if there is an integer b with $self = n^b$.
16081609
16091610
EXAMPLES:
16101611
sage: Integer(64).is_power_of(4)

src/sage/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""nodoctests"""
2-
version='2.5.0.2'; date='2007-05-11'
2+
version='sage-2.5.1.alpha1'; date='2007-05-18'

0 commit comments

Comments
 (0)