Ravi <ra.ravi....@gmail.com> writes:
> I can extend dictionary to allow for the my own special look-up
> tables. However now I want to be able to define multidimensional
> dictionary which supports look-up like this:
>
> d[1]['abc'][40] = 'dummy'

Why do that anyway?  You can use a tuple as a subscript:

   d[1,'abc',40] = 'dummy'
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to