Rename API.friendships_outgoing to API.outgoing_friendships
authorHarmon <Harmon758@gmail.com>
Wed, 2 Jun 2021 23:55:53 +0000 (18:55 -0500)
committerHarmon <Harmon758@gmail.com>
Wed, 2 Jun 2021 23:55:53 +0000 (18:55 -0500)
docs/api.rst
tweepy/api.py

index 4e265841de611f6289d27ad117a2db0432f766ce..f0072a59cfe9fbe6ec8fce3c3ac8424b2a984395 100644 (file)
     +------------------------------------------+--------------------------------------+
     | `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
 
index 3d0a3fc811381532ab6c7ff071d3b35e08d196fa..7742abeac28119869df2189f5199c7611c91a994 100644 (file)
@@ -2254,8 +2254,8 @@ class API:
 
     @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.