Skip to content

Commit 5257e72

Browse files
committed
Fix SquareSet.issuperset() typing
1 parent c905fe3 commit 5257e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chess/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3607,7 +3607,7 @@ def issubset(self, other):
36073607

36083608
def issuperset(self, other):
36093609
"""Test if this square set is a superset of another."""
3610-
return not bool(self & ~other)
3610+
return not bool(self & ~SquareSet(other))
36113611

36123612
def union(self, other):
36133613
return self | other

0 commit comments

Comments
 (0)