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

Commit 18121fe

Browse files
author
Matthias Koeppe
committed
src/sage/modules: Fix errors shown by tox -e rst
1 parent 8fc8776 commit 18121fe

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

src/sage/modules/fp_graded/free_morphism.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class FreeGradedModuleMorphism(FPModuleMorphism):
5555
Defn: b[4] |--> (Sq(0,2)+Sq(3,1)+Sq(6))*d[2]
5656
b[5] |--> (Sq(1,2)+Sq(7))*d[2] + (Sq(0,2)+Sq(3,1)+Sq(6))*d[3]
5757
58-
TESTS::
58+
TESTS:
5959
6060
A non-example because the degree is not well-defined::
6161

src/sage/modules/fp_graded/steenrod/morphism.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _resolve_kernel(self, top_dim=None, verbose=False):
280280
OUTPUT: A homomorphism `j: F \rightarrow D` where `D` is the domain of
281281
this homomorphism, `F` is free and such that `\ker(self) = \operatorname{im}(j)`.
282282
283-
TESTS:
283+
TESTS::
284284
285285
sage: from sage.modules.fp_graded.steenrod.module import SteenrodFPModule
286286
sage: A = SteenrodAlgebra(2)
@@ -328,7 +328,7 @@ def _resolve_image(self, top_dim=None, verbose=False):
328328
of this homomorphism, `F` is free, and
329329
`\operatorname{im}(self) = \operatorname{im}(j)`.
330330
331-
TESTS:
331+
TESTS::
332332
333333
sage: from sage.modules.fp_graded.steenrod.module import SteenrodFPModule
334334
sage: A = SteenrodAlgebra(2)
@@ -348,7 +348,7 @@ def _action(self, method, *args, **kwds):
348348
Changes the ground ring to a finite algebra, acts by the given method
349349
and changes back into the original ground ring before returning.
350350
351-
TESTS:
351+
TESTS::
352352
353353
sage: from sage.modules.fp_graded.steenrod.module import SteenrodFPModule
354354
sage: from sage.modules.fp_graded.morphism import FPModuleMorphism

src/sage/modules/free_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5321,7 +5321,7 @@ def echelonized_basis_matrix(self):
53215321

53225322
def _echelon_matrix_richcmp(self, other, op):
53235323
r"""
5324-
Compare the free module ``self`` with ``other`.
5324+
Compare the free module ``self`` with ``other``.
53255325
53265326
This compares modules by their ambient spaces, then by dimension,
53275327
then in order by their echelon matrices. However, if

src/sage/modules/quotient_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def _coerce_map_from_(self, M):
155155
"""
156156
Return a coercion map from `M` to ``self``, or ``None``.
157157
158-
TESTS:
158+
TESTS::
159159
160160
sage: S.<x,y,z> = PolynomialRing(QQ)
161161
sage: M = S**2

src/sage/modules/vector_space_homspace.py

+3
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,17 @@ def __call__(self, A, check=True, **kwds):
249249
250250
- ``A`` - one of several possible inputs representing
251251
a morphism from this vector space homspace.
252+
252253
- a vector space morphism in this homspace
253254
- a matrix representation relative to the bases of the vector spaces,
254255
which acts on a vector placed to the left of the matrix
255256
- a list or tuple containing images of the domain's basis vectors
256257
- a function from the domain to the codomain
258+
257259
- ``check`` (default: True) - ``True`` or ``False``, required for
258260
compatibility with calls from
259261
:meth:`sage.structure.parent.Parent.hom`.
262+
260263
- the keyword ``side`` can be assigned the values ``"left"`` or
261264
``"right"``. It corresponds to the side of vectors relative to the
262265
matrix.

0 commit comments

Comments
 (0)