Comparisons of incompatible types

Paul Rubin no.email at nospam.invalid
Tue Dec 7 20:04:28 EST 2010


Ben Finney <ben+python at benfinney.id.au> writes:
> but, if there is no ‘set’ type, it's fine to write::
>     sorted(foolist) == sorted(barlist)

what about dictionaries?



More information about the Python-list mailing list