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

index d1a02b99d45cd82429263d99bc086f42746e620e..3d9b4ac2c133da41ad011ac8ab3fa65a668a2580 100644 (file)
     +------------------------------------------+--------------------------------------+
     | `GET mutes/users/ids`_                   | :meth:`API.mutes_ids`                |
     +------------------------------------------+--------------------------------------+
-    | `GET mutes/users/list`_                  | :meth:`API.mutes`                    |
+    | `GET mutes/users/list`_                  | :meth:`API.get_mutes`                |
     +------------------------------------------+--------------------------------------+
     | `POST blocks/create`_                    | :meth:`API.create_block`             |
     +------------------------------------------+--------------------------------------+
@@ -536,7 +536,7 @@ Mute, block, and report users
 
 .. automethod:: API.mutes_ids
 
-.. automethod:: API.mutes
+.. automethod:: API.get_mutes
 
 .. automethod:: API.create_block
 
index e40324f8b180c81525a048f5098ccc45ee457812..196db5f15cff881f77c8114d7503b112fc88bd5e 100644 (file)
@@ -2973,8 +2973,8 @@ class API:
 
     @pagination(mode='cursor')
     @payload('user', list=True)
-    def mutes(self, **kwargs):
-        """mutes(*, cursor, include_entities, skip_status)
+    def get_mutes(self, **kwargs):
+        """get_mutes(*, cursor, include_entities, skip_status)
 
         Returns an array of user objects the authenticating user has muted.