-
-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove unused import + pep8 cleanup in modform/element #39611
base: develop
Are you sure you want to change the base?
Conversation
Documentation preview for this PR (built with commit dd3e94c; changes) is ready! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@@ -995,11 +993,11 @@ def period(self, M, prec=53): | |||
|
|||
M = self.group()(M) | |||
# coefficients of the matrix M | |||
(b, c, d) = (M.b(), M.c() / N, M.d()) | |||
b, c, d = (M.b(), M.c() / N, M.d()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parenthesis are not needed on the right side either.
if d == 0: | ||
return R.zero() | ||
if d < 0: | ||
(b, c, d) = (-b, -c, -d) | ||
b, c, d = (-b, -c, -d) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here.
full pep8 cleanup in the modified file ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#39611 Reported by: Frédéric Chapoton Reviewer(s): David Coudert
full pep8 cleanup in the modified file
📝 Checklist