Tuples. Even better, I didn't realise that advantage regarding sorting. Also in the book, please? :)
On Oct 29, 7:57 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > It can also take a list of tuples. It will work like a dict of > (key,value) but preserves sorting. > > On Oct 29, 11:32 am, villas <villa...@gmail.com> wrote: > > > >>requires=IS_IN_SET({'key1':'label1','key2':'label2','key3':'label3'}) > > > @David - thanks for reminding us of this. > > > Book editors please note... > > The fact that IS_IN_SET can accept a dict should be in the Book? > > (Please forgive me if I missed it there!). > > > -D > >