Skip to content

Commit

Permalink
gh-39236: minor details in modular symbols / boundary
Browse files Browse the repository at this point in the history
    
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
  • Loading branch information
Release Manager committed Jan 2, 2025
2 parents 181d8c8 + b844e8f commit c3fc140
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/sage/modular/modsym/boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,16 @@
# ****************************************************************************


from sage.misc.repr import repr_lincomb
from sage.structure.richcmp import richcmp_method, richcmp

import sage.modules.free_module as free_module
from sage.modules.free_module_element import FreeModuleElement

import sage.modular.arithgroup.all as arithgroup
import sage.modular.cusps as cusps
import sage.modular.dirichlet as dirichlet
import sage.modular.hecke.all as hecke
from sage.categories.rings import Rings
from sage.misc.repr import repr_lincomb
from sage.modular import cusps, dirichlet
from sage.modular.modsym.manin_symbol import ManinSymbol

from sage.modules import free_module
from sage.modules.free_module_element import FreeModuleElement
from sage.rings.rational_field import Q as QQ
from sage.categories.rings import Rings
from sage.structure.richcmp import richcmp, richcmp_method

from . import element

Expand Down Expand Up @@ -299,7 +295,7 @@ def __init__(self,
- ``sign`` -- integer; either -1, 0, or 1
- ``base_ring`` -- rings.Ring (defaults to the rational numbers)
- ``base_ring`` -- commutative ring (defaults to the rational numbers)
EXAMPLES::
Expand Down Expand Up @@ -431,7 +427,9 @@ def gen(self, i=0):
sage: B.gen(0)
Traceback (most recent call last):
...
ValueError: only 0 generators known for Space of Boundary Modular Symbols for Congruence Subgroup Gamma0(24) of weight 4 over Rational Field
ValueError: only 0 generators known for
Space of Boundary Modular Symbols for
Congruence Subgroup Gamma0(24) of weight 4 over Rational Field
sage: B(Cusp(1/3))
[1/3]
sage: B.gen(0)
Expand Down

0 comments on commit c3fc140

Please sign in to comment.