From 744edc245f856e3fc69401db8185b820c0219f6f Mon Sep 17 00:00:00 2001 From: Harmon Date: Thu, 3 Jun 2021 07:32:00 -0500 Subject: [PATCH] Rename API.mutes to API.get_mutes --- 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 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. -- 2.25.1