Show More
@@ -2356,7 +2356,7 b' class lazyset(object):' | |||||
2356 | yield x |
|
2356 | yield x | |
2357 |
|
2357 | |||
2358 | def __and__(self, x): |
|
2358 | def __and__(self, x): | |
2359 |
return lazyset(self, |
|
2359 | return lazyset(self, x.__contains__) | |
2360 |
|
2360 | |||
2361 | def __sub__(self, x): |
|
2361 | def __sub__(self, x): | |
2362 | return lazyset(self, lambda r: r not in x) |
|
2362 | return lazyset(self, lambda r: r not in x) |
General Comments 0
You need to be logged in to leave comments.
Login now