[Fwd: Re: managed lists?]

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Tue May 22 16:41:49 EDT 2007


Jorgen Bodde a écrit :

(snip)

> class ObjListException(Exception):
>    pass
> 
> class ObjListIterator(object):
>    def __init__(self, objlist):
>        self.__objlist = objlist
>        self.__idx = 0

You should use a single underscore here.



More information about the Python-list mailing list