In <[EMAIL PROTECTED]>, Steve R. Hastings wrote: > What is the friendliest and most Pythonic way to write a Pipe class for > iterwrap?
Maybe one with less "magic" syntax. What about using a function that
takes the iterators and an iterable and returns an iterator of the chained
iterators::
new_list = pipe(grep('larch'), grep('parrot', 'v')), list)(my_list)
Ciao,
Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list
