Skip to content

Conversation

mantepse
Copy link
Contributor

@mantepse mantepse commented Jan 31, 2024

We unify the definitions as follows:

  • substitute is a method in Element which calls self.subs and passes all arguments along, and not defined anywhere else.
  • subs is the method that should be overwritten in the various element classes.

Dependencies:

#37143

@fchapoton
Copy link
Contributor

I guess this "needs review", right ?

@mantepse
Copy link
Contributor Author

mantepse commented Feb 3, 2024

Yes !

Copy link

github-actions bot commented Feb 5, 2024

Documentation preview for this PR (built with commit da048df; changes) is ready! 🎉

Copy link
Contributor

@fchapoton fchapoton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good enough, thanks a lot, danke sehr

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 7, 2024
sagemathgh-37210: unify alias substitute for subs
    
We unify the definitions as follows:

* `substitute` is a method in `Element` which calls `self.subs` and
passes all arguments along, and not defined anywhere else.
* `subs` is the method that should be overwritten in the various element
classes.

Dependencies:

sagemath#37143
    
URL: sagemath#37210
Reported by: Martin Rubey
Reviewer(s): Frédéric Chapoton
@vbraun vbraun merged commit 15abc09 into sagemath:develop Feb 13, 2024
@mantepse mantepse deleted the element/substitute_alias branch February 14, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants