summaryrefslogtreecommitdiffstats
path: root/Lib/weakref.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/weakref.py')
-rw-r--r--Lib/weakref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/weakref.py b/Lib/weakref.py
index 0276dfd..5e6cc8b 100644
--- a/Lib/weakref.py
+++ b/Lib/weakref.py
@@ -49,7 +49,7 @@ class WeakValueDictionary(collections.MutableMapping):
del self.data[wr.key]
self._remove = remove
self.data = d = {}
- d.update(*args, **kw)
+ self.update(*args, **kw)
def __getitem__(self, key):
o = self.data[key]()