Skip to content

Commit

Permalink
chore: fix 'translate' docstring return type (#260)
Browse files Browse the repository at this point in the history
Co-authored-by: Tres Seaver <tseaver@palladion.com>
  • Loading branch information
Leinadium and tseaver authored Sep 30, 2021
1 parent e25f1cb commit 5b02c58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def translate(
:param model: (Optional) The model used to translate the text, such
as ``'base'`` or ``'nmt'``.
:rtype: str or list
:rtype: dict or list
:returns: A list of dictionaries for each queried value. Each
dictionary typically contains three keys (though not
all will be present in all cases)
Expand Down

0 comments on commit 5b02c58

Please sign in to comment.