Show More
@@ -359,10 +359,10 b' class baseset(abstractsmartset):' | |||||
359 | return s |
|
359 | return s | |
360 |
|
360 | |||
361 | def __and__(self, other): |
|
361 | def __and__(self, other): | |
362 |
return self._fastsetop(other, |
|
362 | return self._fastsetop(other, '__and__') | |
363 |
|
363 | |||
364 | def __sub__(self, other): |
|
364 | def __sub__(self, other): | |
365 |
return self._fastsetop(other, |
|
365 | return self._fastsetop(other, '__sub__') | |
366 |
|
366 | |||
367 | def _slice(self, start, stop): |
|
367 | def _slice(self, start, stop): | |
368 | # creating new list should be generally cheaper than iterating items |
|
368 | # creating new list should be generally cheaper than iterating items |
General Comments 0
You need to be logged in to leave comments.
Login now