Make sure that WeakValueDictionary[] raises KeyError instead of TypeError
for keys that are not in the dictionary.
diff --git a/Lib/weakref.py b/Lib/weakref.py
index cf950ba..1d21e79 100644
--- a/Lib/weakref.py
+++ b/Lib/weakref.py
@@ -41,7 +41,7 @@
     # way in).
 
     def __getitem__(self, key):
-        o = self.data.get(key)()
+        o = self.data[key]()
         if o is None:
             raise KeyError, key
         else: