Skip to content

Commit 7b791b7

Browse files
committed
fix code dup line
1 parent 86a4d42 commit 7b791b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/09_集合/set_adt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ def __and__(self, other_set):
158158
def __sub__(self, other_set):
159159
"""差集 A-B"""
160160
new_set = SetADT()
161-
new_set = SetADT()
162161
for element_a in self:
163162
if element_a not in other_set:
164163
new_set.add(element_a)

0 commit comments

Comments
 (0)