[BangPypers] An interesting beginner post at Stackoverflow

Anand Chitipothu anandology at gmail.com
Wed Oct 21 09:01:43 CEST 2009


> What do you mean when you use the word "interned"?

$ pydoc intern
Help on built-in function intern in module __builtin__:

intern(...)
    intern(string) -> string

    ``Intern'' the given string.  This enters the string in the (global)
    table of interned strings whose purpose is to speed up dictionary lookups.
    Return the string itself or the previously interned string object with the
    same value.


More information about the BangPypers mailing list