On Feb 6, 5:10 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > jeremito a écrit : > > On Feb 6, 2:36 pm, Bruno Desthuilliers > <[EMAIL PROTECTED]> wrote: > > > > (snip) > > >>Here's an alternative implementation, so you get the idea. > >> > >>class Xs(dict): > > oops ! I meant: > class Xs(object): > > of course... > > (snip) > > > I guess I just > > need more experience. > > Possibly - but not only. You may want to have a look at the > FineManual(tm) for all this kind of "magic", starting with > :http://docs.python.org/ref/specialnames.htmlhttp://docs.python.org/ref/sequence-types.html > > HTH
Thanks again! Sometimes the problem is simply not knowing where to find the documentation, or finding the right portion of the documentation. Your help has been invaluable. Jeremy -- http://mail.python.org/mailman/listinfo/python-list