From ea26a296639e7a42d81b9f84a236a82e4915d434 Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 3 Jun 2021 07:33:33 -0500 Subject: [PATCH] Rename API.mutes_ids to API.get_muted_ids --- docs/api.rst | 4 ++-- tweepy/api.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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. -- 2.25.1