Grant Edwards <grante at visi.com> wrote: ... > If you want to iterate over your object, you probably want to > support the sequence protocol. In general, supplying a suitable __iter__ method is simpler and more suitable than implementing the sequence protocol, if your purpose is to allow iteration on an object. Alex