Skip to content

Commit 5b9137c

Browse files
author
Release Manager
committed
gh-35970: src/sage/combinat/affine_permutation.py: Fix docstring markup <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> Basic RST formatting fix. <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] 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 <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #35970 Reported by: Matthias Köppe Reviewer(s): Benjamin Hackl
2 parents bbe57a4 + 8f959ba commit 5b9137c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sage/combinat/affine_permutation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -917,10 +917,10 @@ def to_bounded_partition(self, typ='decreasing', side='right'):
917917
918918
INPUT:
919919
920-
- ``typ`` -- 'increasing' or 'decreasing' (default: 'decreasing'.)
920+
- ``typ`` -- ``'increasing'`` or ``'decreasing'`` (default: ``'decreasing'``.)
921921
Chooses whether to find increasing or decreasing sets.
922922
923-
- ``side`` -- 'right' or 'left' (default: 'right'.) Chooses whether to
923+
- ``side`` -- ``'right'`` or ``'left'`` (default: ``'right'``.) Chooses whether to
924924
find maximal sets starting from the left or the right.
925925
926926
EXAMPLES::
@@ -941,9 +941,9 @@ def to_core(self, typ='decreasing', side='right'):
941941
942942
INPUT:
943943
944-
- ``typ`` -- 'increasing' or 'decreasing' (default: 'decreasing'.)
944+
- ``typ`` -- ``'increasing'`` or ``'decreasing'`` (default: ``'decreasing'``.)
945945
946-
- ``side`` -- 'right' or 'left' (default: 'right'.) Chooses whether to
946+
- ``side`` -- ``'right'`` or ``'left'`` (default: ``'right'``.) Chooses whether to
947947
find maximal sets starting from the left or the right.
948948
949949
EXAMPLES::

0 commit comments

Comments
 (0)