How to use intern()? - newbie

Wm. King wjk at wjk.mv.com
Mon Jan 3 22:15:23 EST 2000


Hi:

I am Curious about this:

intern("ASTRING") -- puts that string internally in a table...
1. How do you access any string put away using intern().
2. How would you put this function to good use / or what is
    its purpose.
3. Python Quick Reference - says interned strings are "immortals".
    Does that mean for the duration of running program only?

Thanx




More information about the Python-list mailing list