blob: ff064ad3f1a4922eafd2e1752146b9c353f9b005 (
plain)
1
2
3
|
weakref.WeakValueDictionary defines a local remove() function used as
callback for weak references. This function was created with a closure.
Modify the implementation to avoid the closure.
|