Chris Angelico <ros...@gmail.com>: > On Thu, Nov 26, 2015 at 10:23 PM, Marko Rauhamaa <ma...@pacujo.net> wrote: >> It's not letting me in the case of list. > > Actually it is. Your mistake is trying to use a list as a dict key. > You have a solution available: use a tuple.
Yes, or wrap the list in a class. Marko -- https://mail.python.org/mailman/listinfo/python-list