Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Returns -> Return
Browse files Browse the repository at this point in the history
  • Loading branch information
david-lucas committed Feb 7, 2017
1 parent 601f3b1 commit 98d8b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/coding/linear_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ def __init__(self, base_field, length, default_encoder_name, default_decoder_nam

def _repr_(self):
r"""
Returns an error message requiring to override ``_repr_`` in ``self``.
Return an error message requiring to override ``_repr_`` in ``self``.
As one has to implement specific representation methods (`_repr_` and `_latex_`)
when writing a new code class which inherits from :class:`AbstractLinearCode`,
Expand Down Expand Up @@ -636,7 +636,7 @@ def _repr_(self):

def _latex_(self):
r"""
Returns an error message requiring to override ``_latex_`` in ``self``.
Return an error message requiring to override ``_latex_`` in ``self``.
As one has to implement specific representation methods (`_repr_` and `_latex_`)
when writing a new code class which inherits from :class:`AbstractLinearCode`,
Expand Down

0 comments on commit 98d8b0a

Please sign in to comment.