bisect on a list of lists
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Fri Mar 9 23:49:23 EST 2007
En Sat, 10 Mar 2007 01:23:11 -0300, Paulo da Silva
<psdasilvaX at esotericaX.ptX> escribió:
> Gabriel Genellina escreveu:
>
>> Just omit the __init__ method, if you don't have anything additional to
>> do. The inherited method will be used instead, as always:
>
>
> Then, if I have something additional, I can do
> def __init__(self,l=None):
> if l!=None:
> list.__init__(self,l)
> ...
Yes, something like that.
--
Gabriel Genellina
More information about the Python-list
mailing list