Skip to content

Commit

Permalink
Docstring suggestions by kwankyu
Browse files Browse the repository at this point in the history
For commits f0445a3 and 114c977.
  • Loading branch information
gmou3 committed Jun 17, 2024
1 parent b6d2649 commit 9c9ec6d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/sage/combinat/integer_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ class IntegerVectors_nnondescents(UniqueRepresentation, IntegerVectors):
The grading parameters on the integer vector `v` are:
- ``n`` -- the sum of the parts of `v`,
- ``n`` -- the sum of the parts of `v`
- ``c`` -- the non descents composition of `v`
Expand Down
1 change: 1 addition & 0 deletions src/sage/combinat/sf/llt.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def hcospin(self):
def hspin(self):
r"""
Return the HSpin basis.
This basis is defined [LLT1997]_ equation (28).
INPUT:
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/sf/monomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ def from_polynomial(self, f, check=True):
INPUT:
- ``self`` -- a monomial symmetric function basis
- ``f`` -- a polynomial in finitely many variables over the same base ring as ``self``
It is assumed that this polynomial is symmetric
- ``f`` -- a polynomial in finitely many variables over the same base ring as ``self``;
it is assumed that this polynomial is symmetric
- ``check`` -- boolean (default: ``True``); checks whether the polynomial is indeed symmetric
OUTPUT:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/combinat/similarity_class_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def centralizer_group_cardinality(la, q=None):
- ``lambda`` -- a partition
- ``q`` -- integer or an indeterminate
- ``q`` -- an integer or an indeterminate
OUTPUT: a polynomial function of ``q``
Expand Down
2 changes: 1 addition & 1 deletion src/sage/combinat/species/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def _repr_(self) -> str:
def labels(self):
"""
Return the labels used on these structures. If `X` is the
species, then :meth:`labels` return the preimage of these
species, then :meth:`labels` returns the preimage of these
structures under the functor `X`.
EXAMPLES::
Expand Down
4 changes: 2 additions & 2 deletions src/sage/combinat/words/word_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def __init__(self, p, q, alphabet=(0, 1), algorithm='cf'):
r"""
INPUT:
- ``p`` -- integer coprime with ``q``
- ``q`` -- integer coprime with ``p``
- ``p`` -- integer coprime with `q`
- ``q`` -- integer coprime with `p`
- ``alphabet`` -- sequence of two elements (default: (0, 1))
- ``algorithm`` -- construction method (default: ``'cf'``).
It can be one of the following:
Expand Down

0 comments on commit 9c9ec6d

Please sign in to comment.