From: Bulat Ziganshin Date: 2002-09-30T14:25:40+09:00 Subject: Re: Where Is Method Call Precedence? Hello William, Saturday, September 28, 2002, 7:28:03 PM, you wrote: WDT> Hi, WDT> If I remember correctly, tuples can be used as hash keys while an WDT> ordinary array (or 'list' as Python calls it) cannot. Python has the WDT> concept of mutable and immutable objects. Only immutable objects can be WDT> used as hash (or 'dictionary' as Python calls it) keys. WDT> I don't know why Python needs the concept of mutable and immutable objects CLU roots? :) WDT> while Ruby does not. try: s = "mutable" hash = { s => "object" } s.upcase! -- Best regards, Bulat mailto:bulatz@integ.ru