Changeset 2340 for trunk/python
- Timestamp:
- 10/18/11 11:02:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/selector.py
r1930 r2340 246 246 else: 247 247 return out 248 248 249 def __add__(self, other): 249 250 """ … … 251 252 """ 252 253 if self.is_empty(): 253 return other254 return selector(other) 254 255 elif other.is_empty(): 255 return sel f256 return selector(self) 256 257 union = selector() 257 258 gets = [[self._getscans(), other._getscans(), union._setscans],
Note:
See TracChangeset
for help on using the changeset viewer.