Yet another unique() function...

Paul Rubin http
Wed Feb 28 02:00:50 EST 2007


"Paul McGuire" <ptmcg at austin.rr.com> writes:
> Any reason not to use a set for the 'seen' variable?  

Yes, the sequence can contain non-hashable elements.  See the test
vectors for examples.



More information about the Python-list mailing list