Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
language oddities fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Aug 20, 2015
1 parent 878ef2a commit 1c81c12
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/sage/rings/asymptotic/growth_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This module adds support for (asymptotic) growth groups. Such groups
are equipped with a partial order: the elements can be seen as
functions and their behavior as the argument(s) get large (tend to
functions, and their behavior as the argument(s) get large (tend to
`\infty`) is compared.
Besides an abstract base class :class:`GenericGrowthGroup`, this module
Expand Down Expand Up @@ -62,7 +62,7 @@

def parent_to_repr_short(P):
r"""
Helper method, which generates a short(er) representation string
Helper method which generates a short(er) representation string
out of a parent.
INPUT:
Expand Down Expand Up @@ -102,7 +102,7 @@ class GenericGrowthElement(sage.structure.element.MultiplicativeGroupElement):
r"""
An abstract implementation of a generic growth element.
Growth elements form a group by multiplication and (some of) the
Growth elements form a group by multiplication, and (some of) the
elements can be compared to each other, i.e., all elements form a
poset.
Expand Down Expand Up @@ -249,8 +249,8 @@ def _div_(self, other):
.. NOTE::
This method is called by the coercion framework, thus, it can be
assumed that this element, as well as ``other`` are of the same
type. The output will have this type.
assumed that this element is of the same type as ``other``.
The output will be of the same type as well.
EXAMPLES::
Expand All @@ -267,17 +267,17 @@ def _div_(self, other):

def __pow__(self, power):
r"""
Takes this growth element to the given ``power``.
Raises this growth element to the given ``power``.
INPUT:
- ``power`` -- a number. This can anything that is valid to be
on the right hand side of ``*`` with an elements of the
- ``power`` -- a number. This can be anything that is a
valid right hand side of ``*`` with elements of the
parent's base.
OUTPUT:
The result of this exponentiation a :class:`MonomialGrowthElement`.
The result of this exponentiation.
EXAMPLES::
Expand Down Expand Up @@ -701,7 +701,7 @@ def one(self):

def _element_constructor_(self, data, raw_element=None):
r"""
Converts given object to this growth group.
Converts a given object to this growth group.
INPUT:
Expand Down Expand Up @@ -793,7 +793,7 @@ def _element_constructor_(self, data, raw_element=None):

def _convert_(self, data):
r"""
Converts given ``data`` to something the constructor of the
Converts ``data`` to something the constructor of the
element class accepts (``raw_element``).
INPUT:
Expand All @@ -808,7 +808,7 @@ def _convert_(self, data):
.. NOTE::
This method always returns ``None`` in this abstract base
class and should be overridden in inherited class.
class, and should be overridden in inherited class.
TESTS::
Expand Down Expand Up @@ -1035,17 +1035,17 @@ def __invert__(self):

def __pow__(self, power):
r"""
Takes this growth element to the given ``power``.
Raises this growth element to the given ``power``.
INPUT:
- ``power`` -- a number. This can anything that is valid to be
on the right hand side of ``*`` with an elements of the
- ``power`` -- a number. This can be anything that is a
valid right hand side of ``*`` with elements of the
parent's base.
OUTPUT:
The result of this exponentiation a :class:`MonomialGrowthElement`.
The result of this exponentiation, a :class:`MonomialGrowthElement`.
EXAMPLES::
Expand Down Expand Up @@ -1271,7 +1271,7 @@ def __hash__(self):

def _convert_(self, data):
r"""
Converts given ``data`` to something the constructor of the
Converts ``data`` to something the constructor of the
element class accepts (``raw_element``).
INPUT:
Expand Down

0 comments on commit 1c81c12

Please sign in to comment.