From 255dbfdb35692af692b6e5100fa3f93fd4302d15 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sat, 6 Feb 2021 23:06:50 -0600 Subject: [PATCH] Improve API method docstring formatting consistency --- tweepy/api.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index a5aff81..86dcd66 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -833,7 +833,8 @@ class API: @payload('saved_search', list=True) def saved_searches(self, *args, **kwargs): - """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list """ + """ :reference: https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-saved_searches-list + """ return self.request('GET', 'saved_searches/list', *args, **kwargs) @payload('saved_search') @@ -1066,7 +1067,8 @@ class API: @payload('json') def trends_available(self, *args, **kwargs): - """ :reference: https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-available """ + """ :reference: https://developer.twitter.com/en/docs/trends/locations-with-trending-topics/api-reference/get-trends-available + """ return self.request('GET', 'trends/available', *args, **kwargs) @payload('json') @@ -1150,12 +1152,14 @@ class API: @payload('json') def supported_languages(self, *args, **kwargs): - """ :reference: https://developer.twitter.com/en/docs/developer-utilities/supported-languages/api-reference/get-help-languages """ + """ :reference: https://developer.twitter.com/en/docs/developer-utilities/supported-languages/api-reference/get-help-languages + """ return self.request('GET', 'help/languages', *args, **kwargs) @payload('json') def configuration(self, *args, **kwargs): - """ :reference: https://developer.twitter.com/en/docs/developer-utilities/configuration/api-reference/get-help-configuration """ + """ :reference: https://developer.twitter.com/en/docs/developer-utilities/configuration/api-reference/get-help-configuration + """ return self.request('GET', 'help/configuration', *args, **kwargs) """ Internal use only """ -- 2.25.1