Stop allowing positional arguments for API.supported_languages
authorHarmon <Harmon758@gmail.com>
Fri, 19 Feb 2021 15:52:33 +0000 (09:52 -0600)
committerHarmon <Harmon758@gmail.com>
Fri, 19 Feb 2021 15:52:33 +0000 (09:52 -0600)
tweepy/api.py

index 2e59154fb53edba991f9988722304816214acdb5..7550168edd134c44c8c45345b9517307f19bb21d 100644 (file)
@@ -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):