projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a6bec9
)
Stop allowing positional arguments for API.supported_languages
author
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 15:52:33 +0000
(09:52 -0600)
committer
Harmon
<Harmon758@gmail.com>
Fri, 19 Feb 2021 15:52:33 +0000
(09:52 -0600)
tweepy/api.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/api.py
b/tweepy/api.py
index 2e59154fb53edba991f9988722304816214acdb5..7550168edd134c44c8c45345b9517307f19bb21d 100644
(file)
--- 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):