(self)
| 203 | return self.first_result is not None or self.find_cursor.alive |
| 204 | |
| 205 | def __next__(self): |
| 206 | if self.first_result is not None: |
| 207 | first = self.first_result |
| 208 | self.first_result = None |
| 209 | return first |
| 210 | return next(self.find_cursor) |
| 211 | |
| 212 | # Added to support the iterateOnce operation. |
| 213 | try_next = __next__ |