Update and improve documentation for API.supported_languages
authorHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 16:08:47 +0000 (11:08 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 27 May 2021 16:08:47 +0000 (11:08 -0500)
tweepy/api.py

index 99a5ecbfcaeb4669eef7008ec6cc746edb2eff92..96a804d0eb16049d60674104c4e95893e5d7a6cb 100644 (file)
@@ -3918,9 +3918,14 @@ class API:
         639-3 alpha-3 (``msa``), or ISO 639-1 alpha-2 combined with an ISO
         3166-1 alpha-2 localization (``zh-tw``).
 
-        :rtype: :class:`JSON` object
+        Returns
+        -------
+        :class:`dict`
+            JSON
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/supported-languages/api-reference/get-help-languages
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/supported-languages/api-reference/get-help-languages
         """
         return self.request('GET', 'help/languages', **kwargs)