Trees | Indices | Help |
|
---|
|
object --+ | line_enumerate
A simple wrapper class to keep track of the line iteration count. The builtin enumerate function isn't practical for TextParser since it passes around the iterator and uses explicit next() calls. Public attributes: line_num The line number of the last line returned. line The last line returned. iter The underlying iterator.
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
|
Constructor. iter (iterator) The iterator being wrapped.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 2 06:33:15 2017 | http://epydoc.sourceforge.net |