March 2003
Intermediate to advanced
656 pages
39h 30m
English
WeakKeyDictionary
class WeakKeyDictionary(adict={ })A WeakKeyDictionary
d
is a mapping that references its keys weakly. When the reference
count of a key k in
d goes to 0, item
d
[
k
]
disappears. adict is used to initialize
the mapping.