Small correction in comments

Headers have changed and a - is now needed between rate and limit.
This commit is contained in:
Adrien Tronche 2013-04-14 00:16:28 -03:00
parent d228e04bc0
commit 023b29b202

View file

@ -258,10 +258,10 @@ class Twython(object):
This will return None if the header is not present This will return None if the header is not present
Most useful for the following header information: Most useful for the following header information:
x-ratelimit-limit x-rate-limit-limit
x-ratelimit-remaining x-rate-limit-remaining
x-ratelimit-class x-rate-limit-class
x-ratelimit-reset x-rate-limit-reset
""" """
if self._last_call is None: if self._last_call is None:
raise TwythonError('This function must be called after an API call. It delivers header information.') raise TwythonError('This function must be called after an API call. It delivers header information.')