Skip to content

Commit

Permalink
Rename API.friendships_outgoing to API.outgoing_friendships
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Jun 2, 2021
1 parent 007bd07 commit 1400065
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 @@ -124,7 +124,7 @@
+------------------------------------------+--------------------------------------+
| `GET friendships/no_retweets/ids`_ | :meth:`API.no_retweets_friendships` |
+------------------------------------------+--------------------------------------+
| `GET friendships/outgoing`_ | :meth:`API.friendships_outgoing` |
| `GET friendships/outgoing`_ | :meth:`API.outgoing_friendships` |
+------------------------------------------+--------------------------------------+
| `GET friendships/show`_ | :meth:`API.get_friendship` |
+------------------------------------------+--------------------------------------+
Expand Down Expand Up @@ -484,7 +484,7 @@ Follow, search, and get users

.. automethod:: API.no_retweets_friendships

.. automethod:: API.friendships_outgoing
.. automethod:: API.outgoing_friendships

.. automethod:: API.get_friendship

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

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

0 comments on commit 1400065

Please sign in to comment.