Merge pull request #180 from namimi/master
Comments correction for get_lastfunction_header()
This commit is contained in:
commit
8ecc55b5ad
1 changed files with 4 additions and 4 deletions
|
|
@ -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.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue