How to use intern()? - newbie
Wm. King
wjk at wjk.mv.com
Mon Jan 3 22:15:23 EST 2000
More information about the Python-list mailing list
Mon Jan 3 22:15:23 EST 2000
- Previous message (by thread): Continued attempts at Yacc-ification :)
- Next message (by thread): How to use intern()? - newbie
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Continued attempts at Yacc-ification :)
- Next message (by thread): How to use intern()? - newbie
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list