On Sun, Nov 2, 2008 at 3:40 PM, spir <[EMAIL PROTECTED]> wrote:
> That's it, thank you! I was looking among sequence methods instaed if
> built-in functions.

You're welcome. Making it a function instead of a method allows it to
be applied to any kind of sequence - actually any kind of iterable,
including generator expressions and user-defined iterators.

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to