From 5458b7e39eb41b146c650b76e04ac67213138a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Ogam?= Date: Thu, 31 Mar 2022 16:11:35 +0200 Subject: Remove unnecessary registration of weakref.WeakSet to _collections_abc.Set (GH-32211) --- Lib/weakref.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/weakref.py b/Lib/weakref.py index 42aba65..25b7092 100644 --- a/Lib/weakref.py +++ b/Lib/weakref.py @@ -33,7 +33,6 @@ __all__ = ["ref", "proxy", "getweakrefcount", "getweakrefs", "WeakSet", "WeakMethod", "finalize"] -_collections_abc.Set.register(WeakSet) _collections_abc.MutableSet.register(WeakSet) class WeakMethod(ref): -- cgit v0.12