commit | a2af05a0d3f0da06b8d432f52efa3ecf29038532 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Mon Sep 09 16:55:58 2019 +0200 |
committer | GitHub <noreply@github.com> | Mon Sep 09 16:55:58 2019 +0200 |
tree | 3cdd6eee59dc6568efd7abe1b15fe1a863d86329 | |
parent | b3b48c81f09d1472010937f1331c5a208a2a2d48 [diff] |
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.