On Tuesday 17 March 2009 03:17:02 pm R. David Murray wrote: > > > (btw, I love the new sentinel argument for the next function in > > > python3!) > > > > next() doesn't have a sentinel argument. It's iter() which does, and > > that's in 2.x also. > > But it does have a 'default' argument, and you can pass that > a sentinel, so it amounts to the same thing ;)
Yep, that's what I meant, I forgot the parameter name. -- Luis Zarrabeitia (aka Kyrie) Fac. de Matemática y Computación, UH. http://profesores.matcom.uh.cu/~kyrie -- http://mail.python.org/mailman/listinfo/python-list