Skip to content

Commit e6ed992

Browse files
vigneshharicmccandless
authored andcommitted
custom-set: Corrected Function Names to match Test (exercism#1590)
Fixes exercism#1589
1 parent a917fb1 commit e6ed992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/custom-set/custom_set.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ def add(self, element):
2323
def intersection(self, other):
2424
pass
2525

26-
def difference(self, other):
26+
def __sub__(self, other):
2727
pass
2828

29-
def union(self, other):
29+
def __add__(self, other):
3030
pass

0 commit comments

Comments
 (0)