On Wed, Oct 21, 2009 at 12:19 PM, Anand Chitipothu <[email protected]> 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
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to