On Wed, Oct 21, 2009 at 12:19 PM, Anand Chitipothu <anandol...@gmail.com> wrote:
> Literal strings are interned. Python maintains a dict of all literal
> strings used in the code and all occurrences get the same object.
>
What do you mean when you use the word "interned"?

>>>> id("hello")
> 600320
>>>> id("hello")
> 600320
>

Roshan Mathews
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to