bisect on a list of lists

Paulo da Silva psdasilvaX at esotericaX.ptX
Fri Mar 9 23:23:11 EST 2007


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)
		...

Good! This is great!
Thanks.



More information about the Python-list mailing list