[Tutor] Re: Re: Self referencing within a dictionary

Andrei project5 at redrival.net
Sun Apr 3 13:53:10 CEST 2005


John Fouhy wrote on Sun, 03 Apr 2005 09:53:56 +1200:

> Andrei wrote:
>> Liam Clarke wrote on Sat, 2 Apr 2005 22:12:49 +1200:
>>>I know that as above doesn't work, but was just wondering if it's
>>>possible, and if it's a Bad Thing?
>> Max has already shown it's possible. Whether it's a Bad Thing... I don't
>> see why it would be. But I also can't imagine right now any realistic cases
>> where it would be useful to have a dictionary contain itself as a value.
> 
> It wouldn't contain itself as a value.

My mistake, I read the messages hastily and missed the ['a']. It was a more
interesting question that way ;).

-- 
Yours,

Andrei

=====
Real contact info (decode with rot13):
cebwrpg5 at jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
gur yvfg, fb gurer'f ab arrq gb PP.



More information about the Tutor mailing list