Staging: this is not the live site, pydocs.org.
Mapping class that references values weakly.
Entries in the dictionary will be discarded when no strong
reference to the value exists anymore
Changed in 3.9
- 3.9: Added support for | and |= operators, as specified in PEP 584.
Members of WeakValueDictionary
v
- valuerefs
- Return a list of weak references to the values.