bpo-36949: Implement __repr__ on WeakSet (GH-13415)

This commit is contained in:
Batuhan Taşkaya 2019-05-20 20:01:07 +03:00 committed by Steve Dower
parent 77b3b7701a
commit 5ae1c84bcd
3 changed files with 7 additions and 0 deletions

View file

@ -194,3 +194,6 @@ class WeakSet:
def isdisjoint(self, other):
return len(self.intersection(other)) == 0
def __repr__(self):
return repr(self.data)