-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
src/sage/combinat: Doctest cosmetics #37610
Conversation
@@ -387,7 +398,8 @@ def to_tableau(self): | |||
|
|||
EXAMPLES:: | |||
|
|||
sage: pt = path_tableaux.SemistandardPathTableau([[],[3],[3,2],[3,3,1],[3,3,2,1],[4,3,3,1,0]]) | |||
sage: pt = path_tableaux.SemistandardPathTableau([[],[3],[3,2],[3,3,1], |
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.
on the way, you could add missing spaces in lists
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.
Done in 0f7b030
|
||
- ``f`` - maximum fill number. This is an optional | ||
- ``f`` -- maximum fill number. This is an optional |
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.
could use the standard form
- ``f`` -- integer (default: ``None``); specify the maximum fill number.
By default (``None``), the method uses the number of cells in the shape.
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.
Done as part of 873c780
- ``self`` - a polyomino of dimension 3 | ||
- ``size`` - number (optional, default: ``1``), the size of each | ||
- ``self`` -- a polyomino of dimension 3 | ||
- ``size`` -- number (optional, default: ``1``), the size of each |
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.
we could remove the term optional
. We have it many times for parameters with default value.
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.
I've left the "optional" as is, too many changes in this PR already
Documentation preview for this PR (built with commit 82266d0; 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
Thank you! |
Standard reformatting of doctests and their outputs
Split out from #35095
📝 Checklist
⌛ Dependencies