Skip to content

Commit 7fec7ad

Browse files
iddobergertseaver
authored andcommitted
Fix rtype for 'Client.detect_language' for single values (googleapis#5397)
1 parent 26f1a97 commit 7fec7ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

translate/google/cloud/translate_v2/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def detect_language(self, values):
103103
:param values: String or list of strings that will have
104104
language detected.
105105
106-
:rtype: str or list
106+
:rtype: dict or list
107107
:returns: A list of dictionaries for each queried value. Each
108108
dictionary typically contains three keys
109109

0 commit comments

Comments
 (0)