Yet another unique() function...
MonkeeSage at gmail.com
Thu Mar 1 20:02:09 CET 2007
On Feb 28, 3:46 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> I didn't think so but I can't conveniently test it for now. Maybe
After playing with it a bit (only have 2.5 on this box), it looks like
you do need to subscript the next() call. For example, the return from
"unique( [, ] )" is "[(0, ), (1, )]". I'm not overly
familiar with the functional paradigm or itertools though, so I might
have missed something.
More information about the Python-list