-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
refresh the file subword.py #33555
Comments
Branch: u/chapoton/33555 |
Commit: |
New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:3
green bot, so please review |
Reviewer: Travis Scrimshaw |
comment:4
One extra change would be |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
thanks, ok, here we go. This file seems to be used nowhere inside sage.. |
comment:8
Thanks. Indeed, but it is globally imported in |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
good idea. Voilà |
comment:11
Thanks. LGTM. |
comment:12
For multiline imports, how about
For instance: -from .combinat import bell_number, catalan_number, euler_number, fibonacci, \
- lucas_number1, lucas_number2, stirling_number1, stirling_number2, \
- polygonal_number, CombinatorialObject, CombinatorialClass, \
- MapCombinatorialClass, \
- tuples, number_of_tuples, unordered_tuples, number_of_unordered_tuples, \
- bell_polynomial, fibonacci_sequence, fibonacci_xrange, bernoulli_polynomial
+from .combinat import (
+ CombinatorialClass, CombinatorialObject, MapCombinatorialClass,
+ bell_number, bell_polynomial, bernoulli_polynomial,
+ catalan_number, euler_number,
+ fibonacci, fibonacci_sequence, fibonacci_xrange,
+ lucas_number1, lucas_number2, polygonal_number,
+ stirling_number1, stirling_number2,
+ tuples, number_of_tuples,
+ unordered_tuples, number_of_unordered_tuples
+) Maybe reword "inheritate from when needed" Maybe rephrase: -As repetition can occur in the initial word, the subwords of a given word is
-not a set in general but an enumerated multiset!
+As repetition can occur in the initial word, in general subwords
+of a given word form an enumerated multiset rather than a set! |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
voilà, c'est fait |
Changed reviewer from Travis Scrimshaw to Travis Scrimshaw, Samuel Lelièvre |
comment:15
I think "inheritate" should be "inherit" if you can fix that too. More long import lines could be wrapped but not necessarily here. If bots green, good to go. |
This comment has been minimized.
This comment has been minimized.
comment:16
setting to positive, thanks |
Changed branch from u/chapoton/33555 to |
Various details:
__ne__
smallest_positions
CC: @tscrim @slel @kwankyu
Component: combinatorics
Author: Frédéric Chapoton
Branch/Commit:
5d5a72f
Reviewer: Travis Scrimshaw, Samuel Lelièvre
Issue created by migration from https://trac.sagemath.org/ticket/33555
The text was updated successfully, but these errors were encountered: