Merge pull request #180 from namimi/master

Comments correction for get_lastfunction_header()
This commit is contained in:
Mike Helmick 2013-04-15 13:45:39 -07:00
commit 8ecc55b5ad

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.')