diff options
author | 2011-11-12 19:06:55 +0100 | |
---|---|---|
committer | 2011-11-12 19:06:55 +0100 | |
commit | 1836ee60f0a3772188c9341efe737aa03ca6f2ff (patch) | |
tree | b54000ce6ab805d24668c61c69f289fd0fbd3d73 /github3/core.py | |
parent | Added converters test (diff) | |
download | python-github3-1836ee60f0a3772188c9341efe737aa03ca6f2ff.tar.xz python-github3-1836ee60f0a3772188c9341efe737aa03ca6f2ff.zip |
PEP8 and renaming
Diffstat (limited to 'github3/core.py')
-rw-r--r-- | github3/core.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/github3/core.py b/github3/core.py index 42f8a07..b838bf1 100644 --- a/github3/core.py +++ b/github3/core.py @@ -3,6 +3,7 @@ # # author: David Medina + class Paginate: """ Paginate resource iterator @@ -33,7 +34,10 @@ class Paginate: return self def initial(self): - """ First request. Force requester to paginate returning link header """ + """ + First request + Force requester to paginate returning link header + """ link, content = self.requester(self.resource, paginate=True, page=1, **self.kwargs) self.last = self._last_page(link) if link else 1 @@ -53,6 +57,7 @@ class Paginate: self.page += 1 return content + class Converter(object): """ Abstract converter class """ |