kent3737 at yahoo.com
Sun Dec 5 16:40:49 CET 2004
> On Sun, 05 Dec 2004 09:44:13 -0500, Kent Johnson <kent3737 at yahoo.com> wrote:
>>This behaviour is due to the way strings are handled. In some cases strings are 'interned' which
>>lets the interpreter keep only a single copy of a string. If you try it with a list you get a
> Thanx Kent. so for lists Python doesn't keep the same object in the
Right, AFAIK lists are not cached in this way.
More information about the Python-list