| 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 Wed Aug 3 07:59:44 2016 | http://epydoc.sourceforge.net |