Bug? If not, how to work around it?

Terry Reedy tjreedy at udel.edu
Wed Aug 6 19:46:39 EDT 2003


"Gonçalo Rodrigues" <op73418 at mail.telepac.pt> wrote in message
news:upv2jv4eeusj7bli30j7a7ikd0cq3njvm4 at 4ax.com...
> >I changed the __iter__ method to the following, and it seems to do
what
> >you want:
> >
> >    def __iter__(self):
> >        return iter(self.__obj)

> But this is precisely what I don't want to do.

If you don't want to do what works,
why ask us to bother answering?

TJR






More information about the Python-list mailing list