From: Harmon Date: Thu, 3 Jun 2021 12:33:33 +0000 (-0500) Subject: Rename API.mutes_ids to API.get_muted_ids X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ea26a296639e7a42d81b9f84a236a82e4915d434;p=tweepy.git Rename API.mutes_ids to API.get_muted_ids --- diff --git a/docs/api.rst b/docs/api.rst index 3d9b4ac..b40fc0c 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -172,7 +172,7 @@ +------------------------------------------+--------------------------------------+ | `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 diff --git a/tweepy/api.py b/tweepy/api.py index 196db5f..b3c9bde 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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.