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

Commit

Permalink
fixes: pyflakes, failing doctest in find_generators
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAyotte committed Jul 13, 2021
1 parent a6c745d commit 906b8ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/modular/modform/find_generators.py
Expand Up @@ -32,7 +32,6 @@
from random import shuffle

from sage.structure.parent import Parent
from sage.structure.element import Element

from sage.categories.graded_algebras import GradedAlgebras

Expand Down Expand Up @@ -373,7 +372,7 @@ def _element_constructor_(self, forms_datas):
sage: M(x)
Traceback (most recent call last):
...
ValueError: the defining data structure should be a single modular form, a ring element, a list of modular forms or a dictionary
TypeError: the defining data structure should be a single modular form, a ring element, a list of modular forms or a dictionary
"""
if isinstance(forms_datas, (dict, list)):
forms_dictionary = forms_datas
Expand Down

0 comments on commit 906b8ab

Please sign in to comment.