Skip to content
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

Cleaning set partition #35543

Merged
merged 1 commit into from
Apr 23, 2023
Merged

Conversation

fchapoton
Copy link
Contributor

πŸ“š Description

Various details and tweaks in the code and doc of set_partition.py

in order to reach full pep8 and better pylint compliance

πŸ“ Checklist

  • 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

for opt in kwargs:
self._latex_options[opt] = kwargs[opt]
for opt, value in kwargs.items():
self._latex_options[opt] = value
Copy link
Member

Choose a reason for hiding this comment

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

is this not just self._latex_options.update(kwargs)?

@mkoeppe
Copy link
Member

mkoeppe commented Apr 20, 2023

Branch seems to be on top of #35542?

@github-actions
Copy link

Documentation preview for this PR is ready! πŸŽ‰
Built with commit: 71e509a

@@ -3197,7 +3172,7 @@ def cardinality(self):
sage: stirling_number2(5,3)
25
"""
return stirling_number2(len(self._set), self._k)
return stirling2(len(self._set), self._k)
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is that better than stirling_number2?

@mantepse
Copy link
Collaborator

In case you have time: #29996 is, for me, a serious problem.

@vbraun vbraun merged commit eca2a77 into sagemath:develop Apr 23, 2023
8 of 9 checks passed
@mkoeppe mkoeppe added this to the sage-10.0 milestone Apr 23, 2023
@fchapoton fchapoton deleted the cleaning_set_partition branch July 16, 2023 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants