|
89 | 89 | # **************************************************************************** |
90 | 90 |
|
91 | 91 |
|
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 | | - |
98 | 92 | import sage.modular.arithgroup.all as arithgroup |
99 | | -import sage.modular.cusps as cusps |
100 | | -import sage.modular.dirichlet as dirichlet |
101 | 93 | 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 |
102 | 97 | 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 |
104 | 100 | 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 |
106 | 102 |
|
107 | 103 | from . import element |
108 | 104 |
|
@@ -299,7 +295,7 @@ def __init__(self, |
299 | 295 |
|
300 | 296 | - ``sign`` -- integer; either -1, 0, or 1 |
301 | 297 |
|
302 | | - - ``base_ring`` -- rings.Ring (defaults to the rational numbers) |
| 298 | + - ``base_ring`` -- commutative ring (defaults to the rational numbers) |
303 | 299 |
|
304 | 300 | EXAMPLES:: |
305 | 301 |
|
@@ -431,7 +427,9 @@ def gen(self, i=0): |
431 | 427 | sage: B.gen(0) |
432 | 428 | Traceback (most recent call last): |
433 | 429 | ... |
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 |
435 | 433 | sage: B(Cusp(1/3)) |
436 | 434 | [1/3] |
437 | 435 | sage: B.gen(0) |
|
0 commit comments