From: Harmon Date: Fri, 19 Feb 2021 15:52:33 +0000 (-0600) Subject: Stop allowing positional arguments for API.supported_languages X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2034efc450d6bf29a481fc7eca35f125dd66e9d4;p=tweepy.git Stop allowing positional arguments for API.supported_languages --- diff --git a/tweepy/api.py b/tweepy/api.py index 2e59154..7550168 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -1196,10 +1196,10 @@ class API: ) @payload('json') - def supported_languages(self, *args, **kwargs): + def supported_languages(self, **kwargs): """ :reference: https://developer.twitter.com/en/docs/developer-utilities/supported-languages/api-reference/get-help-languages """ - return self.request('GET', 'help/languages', *args, **kwargs) + return self.request('GET', 'help/languages', **kwargs) @payload('json') def configuration(self, *args, **kwargs):