Skip to content

Commit

Permalink
Rename API.friendships_incoming to API.incoming_friendships
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jun 2, 2021
1 parent f090f7b commit 007bd07
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
Expand Up @@ -118,7 +118,7 @@
+------------------------------------------+--------------------------------------+
| `GET friends/list`_ | :meth:`API.friends` |
+------------------------------------------+--------------------------------------+
| `GET friendships/incoming`_ | :meth:`API.friendships_incoming` |
| `GET friendships/incoming`_ | :meth:`API.incoming_friendships` |
+------------------------------------------+--------------------------------------+
| `GET friendships/lookup`_ | :meth:`API.lookup_friendships` |
+------------------------------------------+--------------------------------------+
Expand Down Expand Up @@ -478,7 +478,7 @@ Follow, search, and get users

.. automethod:: API.friends

.. automethod:: API.friendships_incoming
.. automethod:: API.incoming_friendships

.. automethod:: API.lookup_friendships

Expand Down
4 changes: 2 additions & 2 deletions tweepy/api.py
Expand Up @@ -2170,8 +2170,8 @@ def friends(self, **kwargs):

@pagination(mode='cursor')
@payload('ids')
def friendships_incoming(self, **kwargs):
"""friendships_incoming(*, cursor, stringify_ids)
def incoming_friendships(self, **kwargs):
"""incoming_friendships(*, cursor, stringify_ids)
Returns a collection of numeric IDs for every user who has a pending
request to follow the authenticating user.
Expand Down

0 comments on commit 007bd07

Please sign in to comment.