From: Harmon Date: Thu, 3 Jun 2021 12:32:00 +0000 (-0500) Subject: Rename API.mutes to API.get_mutes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=744edc245f856e3fc69401db8185b820c0219f6f;p=tweepy.git Rename API.mutes to API.get_mutes --- diff --git a/docs/api.rst b/docs/api.rst index d1a02b9..3d9b4ac 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -174,7 +174,7 @@ +------------------------------------------+--------------------------------------+ | `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 diff --git a/tweepy/api.py b/tweepy/api.py index e40324f..196db5f 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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.