bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641)
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.
V
Victor Stinner committed
a2af05a0d3f0da06b8d432f52efa3ecf29038532
Parent: b3b48c8
Committed by GitHub <noreply@github.com>
on 9/9/2019, 2:55:58 PM