Skip to content

Commit

Permalink
Stop allowing positional arguments for API.supported_languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 19, 2021
1 parent 0a6bec9 commit 2034efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tweepy/api.py
Expand Up @@ -1196,10 +1196,10 @@ def geo_search(self, **kwargs):
)

@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):
Expand Down

0 comments on commit 2034efc

Please sign in to comment.