-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
Support renaming of Functor (define _repr_(), not __repr__()) #16156
Labels
Milestone
Comments
Commit: |
Branch: u/pbruin/16156-Functor_repr |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:3
Hi, looks simple & good, so I'll put it to positive review. |
Reviewer: Jan Keitel |
Changed branch from u/pbruin/16156-Functor_repr to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The class
Functor
and some of its subclasses define a__repr__()
method which doesn't support renaming:This ticket moves these methods to
_repr_()
so the standardSageObject.__repr__()
is used, which makes renaming work at least for Python classes.Component: categories
Keywords: repr renaming
Author: Peter Bruin
Branch/Commit:
4866cae
Reviewer: Jan Keitel
Issue created by migration from https://trac.sagemath.org/ticket/16156
The text was updated successfully, but these errors were encountered: