Skip to content

Commit c3fc140

Browse files
author
Release Manager
committed
gh-39236: minor details in modular symbols / boundary mainly to remove the allusion there to the auld class `ring.Ring` ### 📝 Checklist - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. URL: #39236 Reported by: Frédéric Chapoton Reviewer(s): David Coudert
2 parents 181d8c8 + b844e8f commit c3fc140

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/sage/modular/modsym/boundary.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,16 @@
8989
# ****************************************************************************
9090

9191

92-
from sage.misc.repr import repr_lincomb
93-
from sage.structure.richcmp import richcmp_method, richcmp
94-
95-
import sage.modules.free_module as free_module
96-
from sage.modules.free_module_element import FreeModuleElement
97-
9892
import sage.modular.arithgroup.all as arithgroup
99-
import sage.modular.cusps as cusps
100-
import sage.modular.dirichlet as dirichlet
10193
import sage.modular.hecke.all as hecke
94+
from sage.categories.rings import Rings
95+
from sage.misc.repr import repr_lincomb
96+
from sage.modular import cusps, dirichlet
10297
from sage.modular.modsym.manin_symbol import ManinSymbol
103-
98+
from sage.modules import free_module
99+
from sage.modules.free_module_element import FreeModuleElement
104100
from sage.rings.rational_field import Q as QQ
105-
from sage.categories.rings import Rings
101+
from sage.structure.richcmp import richcmp, richcmp_method
106102

107103
from . import element
108104

@@ -299,7 +295,7 @@ def __init__(self,
299295
300296
- ``sign`` -- integer; either -1, 0, or 1
301297
302-
- ``base_ring`` -- rings.Ring (defaults to the rational numbers)
298+
- ``base_ring`` -- commutative ring (defaults to the rational numbers)
303299
304300
EXAMPLES::
305301
@@ -431,7 +427,9 @@ def gen(self, i=0):
431427
sage: B.gen(0)
432428
Traceback (most recent call last):
433429
...
434-
ValueError: only 0 generators known for Space of Boundary Modular Symbols for Congruence Subgroup Gamma0(24) of weight 4 over Rational Field
430+
ValueError: only 0 generators known for
431+
Space of Boundary Modular Symbols for
432+
Congruence Subgroup Gamma0(24) of weight 4 over Rational Field
435433
sage: B(Cusp(1/3))
436434
[1/3]
437435
sage: B.gen(0)

0 commit comments

Comments
 (0)