Small correction in comments
Headers have changed and a - is now needed between rate and limit.
This commit is contained in:
parent
d228e04bc0
commit
023b29b202
1 changed files with 4 additions and 4 deletions
|
|
@ -258,10 +258,10 @@ class Twython(object):
|
|||
This will return None if the header is not present
|
||||
|
||||
Most useful for the following header information:
|
||||
x-ratelimit-limit
|
||||
x-ratelimit-remaining
|
||||
x-ratelimit-class
|
||||
x-ratelimit-reset
|
||||
x-rate-limit-limit
|
||||
x-rate-limit-remaining
|
||||
x-rate-limit-class
|
||||
x-rate-limit-reset
|
||||
"""
|
||||
if self._last_call is None:
|
||||
raise TwythonError('This function must be called after an API call. It delivers header information.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue