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

fixing some :class:, :meth: roles #35224

Merged
merged 1 commit into from
Apr 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sage/combinat/integer_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ class IntegerVectors(Parent, metaclass=ClasscallMetaclass):

.. SEEALSO::

:class: `sage.combinat.integer_lists.invlex.IntegerListsLex`.
:class:`sage.combinat.integer_lists.invlex.IntegerListsLex`
"""
@staticmethod
def __classcall_private__(cls, n=None, k=None, **kwargs):
Expand Down
11 changes: 7 additions & 4 deletions src/sage/modular/modform/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,27 +174,30 @@ def level(self):
"""
return self.parent().level()

def is_homogeneous(self):
def is_homogeneous(self) -> bool:
"""
Return true. For compatibility with elements of a graded modular forms ring.
Return ``True``.

For compatibility with elements of a graded modular forms ring.

An alias of this method is ``is_modular_form``.

.. SEEALSO::

:meth: `sage.modular.modform.element.GradedModularFormElement.is_homogeneous`
:meth:`sage.modular.modform.element.GradedModularFormElement.is_homogeneous`

EXAMPLES::

sage: ModularForms(1,12).0.is_homogeneous()
True
"""
return True

is_modular_form = is_homogeneous # alias

def _repr_(self):
"""
Return the string representation of self.
Return the string representation of ``self``.

EXAMPLES::

Expand Down