(self, other)
| 180 | return NotImplemented |
| 181 | |
| 182 | def __eq__(self, other): |
| 183 | if isinstance(other, TimerHandle): |
| 184 | return (self._when == other._when and |
| 185 | self._callback == other._callback and |
| 186 | self._args == other._args and |
| 187 | self._cancelled == other._cancelled) |
| 188 | return NotImplemented |
| 189 | |
| 190 | def cancel(self): |
| 191 | if not self._cancelled: |
no outgoing calls