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

index 98c5312e809ae780ba1cabf91f708cfa71a0dd58..5c20c095ae6e16d1b5ba3fae161231b083ed6ed0 100644 (file)
@@ -2886,12 +2886,20 @@ class API:
         Returns an array of numeric user IDs the authenticating user is
         blocking.
 
-        :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-blocks-ids
+        References
+        ----------
+        https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/mute-block-report-users/api-reference/get-blocks-ids
         """
         return self.request(
             'GET', 'blocks/ids', endpoint_parameters=(