Skip to content

Commit

Permalink
Rename API.mutes_ids to API.get_muted_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jun 3, 2021
1 parent 744edc2 commit ea26a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
+------------------------------------------+--------------------------------------+
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tweepy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2945,8 +2945,8 @@ def get_blocks(self, **kwargs):

@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.
Expand Down

0 comments on commit ea26a29

Please sign in to comment.