Update and improve documentation for API.saved_searches
authorHarmon <Harmon758@gmail.com>
Tue, 25 May 2021 10:49:39 +0000 (05:49 -0500)
committerHarmon <Harmon758@gmail.com>
Tue, 25 May 2021 10:49:39 +0000 (05:49 -0500)
tweepy/api.py

index 893e78f52142247eb4b9a650036e2fc48c0dcb90..d30bf859d698f771506e7321d6af08ddf5812d59 100644 (file)
@@ -2574,9 +2574,13 @@ class API:
 
         Returns the authenticated user's saved search queries.
 
-        :rtype: list of :class:`SavedSearch` objects
+        Returns
+        -------
+        :py:class:`List`\ [:class:`~tweepy.models.SavedSearch`]
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list
         """
         return self.request('GET', 'saved_searches/list', **kwargs)