Rename API.mutes_ids to API.get_muted_ids
authorHarmon <Harmon758@gmail.com>
Thu, 3 Jun 2021 12:33:33 +0000 (07:33 -0500)
committerHarmon <Harmon758@gmail.com>
Thu, 3 Jun 2021 12:33:33 +0000 (07:33 -0500)
docs/api.rst
tweepy/api.py

index 3d9b4ac2c133da41ad011ac8ab3fa65a668a2580..b40fc0c1108334d5fbb9845543337db96aff3aca 100644 (file)
     +------------------------------------------+--------------------------------------+
     | `GET blocks/list`_                       | :meth:`API.get_blocks`               |
     +------------------------------------------+--------------------------------------+
-    | `GET mutes/users/ids`_                   | :meth:`API.mutes_ids`                |
+    | `GET mutes/users/ids`_                   | :meth:`API.get_muted_ids`            |
     +------------------------------------------+--------------------------------------+
     | `GET mutes/users/list`_                  | :meth:`API.get_mutes`                |
     +------------------------------------------+--------------------------------------+
@@ -534,7 +534,7 @@ Mute, block, and report users
 
 .. automethod:: API.get_blocks
 
-.. automethod:: API.mutes_ids
+.. automethod:: API.get_muted_ids
 
 .. automethod:: API.get_mutes
 
index 196db5f15cff881f77c8114d7503b112fc88bd5e..b3c9bde89bd5db844cc5987c04d9109a69e6f047 100644 (file)
@@ -2945,8 +2945,8 @@ class API:
 
     @pagination(mode='cursor')
     @payload('ids')
-    def mutes_ids(self, **kwargs):
-        """mutes_ids(*, stringify_ids, cursor)
+    def get_muted_ids(self, **kwargs):
+        """get_muted_ids(*, stringify_ids, cursor)
 
         Returns an array of numeric user IDs the authenticating user has muted.