Skip to content

Commit f2be975

Browse files
author
Release Manager
committed
gh-36822: Fix linter failure in 10.3.beta0 <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36822 Reported by: Matthias Köppe Reviewer(s): Frédéric Chapoton
2 parents 0121df0 + 92ad155 commit f2be975

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sage/schemes/elliptic_curves/mod_poly.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
_cache_bound = 100
2525
_cache = dict()
2626

27+
2728
def classical_modular_polynomial(l, j=None):
2829
r"""
2930
Return the classical modular polynomial `\Phi_\ell`, either as a
@@ -143,6 +144,7 @@ def classical_modular_polynomial(l, j=None):
143144
# and simply evaluating it.
144145
return classical_modular_polynomial(l)(j, Y)
145146

147+
146148
def _set_cache_bound(bnd):
147149
r"""
148150
Internal helper function to allow setting the caching cutoff for
@@ -164,4 +166,5 @@ def _set_cache_bound(bnd):
164166
global _cache_bound
165167
_cache_bound = bnd
166168

169+
167170
classical_modular_polynomial.set_cache_bound = _set_cache_bound

0 commit comments

Comments
 (0)