Logo Search packages:      
Sourcecode: viewvc version File versions  Download package

ezt::_OldIterator Class Reference

List of all members.

Detailed Description

Alternate implemention of _Iterator for old Pythons without iterators

This class implements the sequence protocol, instead of the iterator
interface, so it's really not an iterator at all. But it can be used in
python "for" loops as a drop-in replacement for _Iterator. It also provides
the is_last() method and "last_item" and "index" members described in the
_Iterator docstring.

Definition at line 738 of file ezt.py.

Public Member Functions

def __getitem__
def __init__
def is_last

Public Attributes


Private Attributes


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index