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

Fix docstring formatting to use raw string literals in multiple files #39209

Merged
merged 1 commit into from
Jan 4, 2025
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/algebras/free_algebra_quotient_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def _repr_(self):
return repr_lincomb(zip(mons, cffs), strip_one=True)

def _latex_(self):
"""
r"""
EXAMPLES::

sage: H, (i,j,k) = sage.algebras.free_algebra_quotient.hamilton_quatalg(QQ)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/algebras/lie_algebras/bgg_dual_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _repr_generator(self, m):
return self._module._repr_generator(m) + "^*"

def _latex_generator(self, m):
"""
r"""
Return a latex representation of the generator indexed by ``m``.

EXAMPLES::
Expand Down
8 changes: 4 additions & 4 deletions src/sage/algebras/steenrod/steenrod_algebra_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def normalize_profile(profile, precision=None, truncation_type='auto', p=2, gene


def milnor_mono_to_string(mono, latex=False, generic=False):
"""
r"""
String representation of element of the Milnor basis.

This is used by the _repr_ and _latex_ methods.
Expand Down Expand Up @@ -720,7 +720,7 @@ def serre_cartan_mono_to_string(mono, latex=False, generic=False):


def wood_mono_to_string(mono, latex=False):
"""
r"""
String representation of element of Wood's Y and Z bases.

This is used by the _repr_ and _latex_ methods.
Expand Down Expand Up @@ -806,7 +806,7 @@ def wall_mono_to_string(mono, latex=False):


def wall_long_mono_to_string(mono, latex=False):
"""
r"""
Alternate string representation of element of Wall's basis.

This is used by the _repr_ and _latex_ methods.
Expand Down Expand Up @@ -891,7 +891,7 @@ def arnonA_mono_to_string(mono, latex=False, p=2):


def arnonA_long_mono_to_string(mono, latex=False, p=2):
"""
r"""
Alternate string representation of element of Arnon's A basis.

This is used by the _repr_ and _latex_ methods.
Expand Down
2 changes: 1 addition & 1 deletion src/sage/misc/inline_fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def _import_module_from_path(name, path=None):
"""
r"""
Import the module named ``name`` by searching the given path entries (or
`sys.path` by default).

Expand Down
Loading