This commit is contained in:
Adrien Tronche 2013-04-15 13:45:10 -07:00
commit e7ebca5515

View file

@ -217,10 +217,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.')