aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib-python/3/weakref.py')
-rw-r--r--lib-python/3/weakref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-python/3/weakref.py b/lib-python/3/weakref.py
index 48cd90f115..013bdaf011 100644
--- a/lib-python/3/weakref.py
+++ b/lib-python/3/weakref.py
@@ -140,7 +140,7 @@ class WeakValueDictionary(_collections_abc.MutableMapping):
# A list of keys to be removed
self._pending_removals = []
self._iterating = set()
- self.data = d = {}
+ self.data = {}
self.update(*args, **kw)
def _commit_removals(self):