diff options
Diffstat (limited to 'Lib/weakref.py')
-rw-r--r-- | Lib/weakref.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/weakref.py b/Lib/weakref.py index b2546f7223..6c479a41ac 100644 --- a/Lib/weakref.py +++ b/Lib/weakref.py @@ -194,7 +194,6 @@ class WeakValueDictionary(collections.MutableMapping): L.append(o) return L -collections.MutableMapping.register(WeakValueDictionary) class KeyedRef(ref): """Specialized reference that includes a key corresponding to the value. @@ -350,5 +349,3 @@ class WeakKeyDictionary(collections.MutableMapping): d[ref(key, self._remove)] = value if len(kwargs): self.update(kwargs) - -collections.MutableMapping.register(WeakKeyDictionary) |