diff --git a/docs/api.rst b/docs/api.rst index 4e265841d..f0072a59c 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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` | +------------------------------------------+--------------------------------------+ @@ -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 diff --git a/tweepy/api.py b/tweepy/api.py index 3d0a3fc81..7742abeac 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -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.