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

index ca6c5b4957903647c55edb531d8f7b7c15be03e9..22123260541f15c344203d4ea2d28783831e4740 100644 (file)
@@ -2945,12 +2945,20 @@ class API:
 
         Returns an array of numeric user IDs the authenticating user has muted.
 
-        :param stringify_ids: |stringify_ids|
-        :param cursor: |cursor|
+        Parameters
+        ----------
+        stringify_ids
+            |stringify_ids|
+        cursor
+            |cursor|
 
-        :rtype: list of :class:`int`
+        Returns
+        -------
+        :py:class:`List`\ [:class:`int`]
 
-        :reference: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-ids
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/get-mutes-users-ids
         """
         return self.request(
             'GET', 'mutes/users/ids', endpoint_parameters=(