Skip to content

Commit

Permalink
Remove unnecessary registration of weakref.WeakSet to _collections_ab…
Browse files Browse the repository at this point in the history
…c.Set (pythonGH-32211)
  • Loading branch information
geryogam authored Mar 31, 2022
1 parent 8be7c2b commit 5458b7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Lib/weakref.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"WeakSet", "WeakMethod", "finalize"]


_collections_abc.Set.register(WeakSet)
_collections_abc.MutableSet.register(WeakSet)

class WeakMethod(ref):
Expand Down

0 comments on commit 5458b7e

Please sign in to comment.