commit | c06de477a35669cac037b0bc92a28f9492d76015 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat May 30 21:04:26 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat May 30 21:04:26 2009 +0000 |
tree | 904ed4860201b9f345b8f2697c720fc4f5223064 | |
parent | 3b1b8072f5f6b30616ac495c288537dcaac92cab [diff] [blame] |
Issue #6149: Fix initialization of WeakValueDictionary objects from non-empty parameters.
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 @@ 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]()