Show More
@@ -2353,8 +2353,9 b' class _addset(object):' | |||||
2353 | return self._iter |
|
2353 | return self._iter | |
2354 |
|
2354 | |||
2355 | def __iter__(self): |
|
2355 | def __iter__(self): | |
2356 |
|
|
2356 | if self._genlist: | |
2357 | yield r |
|
2357 | return iter(self._genlist) | |
|
2358 | return iter(self._iterator()) | |||
2358 |
|
2359 | |||
2359 | def __contains__(self, x): |
|
2360 | def __contains__(self, x): | |
2360 | return x in self._r1 or x in self._r2 |
|
2361 | return x in self._r1 or x in self._r2 |
General Comments 0
You need to be logged in to leave comments.
Login now