Skip to content

Commit 5458b7e

Browse files
authored
Remove unnecessary registration of weakref.WeakSet to _collections_abc.Set (GH-32211)
1 parent 8be7c2b commit 5458b7e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/weakref.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"WeakSet", "WeakMethod", "finalize"]
3434

3535

36-
_collections_abc.Set.register(WeakSet)
3736
_collections_abc.MutableSet.register(WeakSet)
3837

3938
class WeakMethod(ref):

0 commit comments

Comments
 (0)