Home | Trees | Index | Help |
---|
|
|
|||
__init__(self,
size,
get_more)
Create a '_Buffer'. |
|||
next(self)
Returns the next item, refilling the buffer if necessary. |
|||
rewind(self) | |||
__iter__(self) |
|
Create a '_Buffer'. 'size' -- the number of items to hold in the buffer at a time. 'get_more' -- a function taking a number as its sole argument; should return a list of that many new items (or as many items are left, whichever is less). |
|
|
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 3.0alpha2 on Fri Sep 28 00:57:32 2007 | http://epydoc.sf.net |