Remove unnecessary registration of weakref.WeakSet to _collections_abc.Set (GH-32211)

This commit is contained in:
Géry Ogam 2022-03-31 16:11:35 +02:00 committed by GitHub
parent 8be7c2bc5a
commit 5458b7e39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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):