Differences From Artifact [292e80c547]:
- File spacemap.py — part of check-in [886158fbf4] at 2011-12-19 09:27:51 on branch master — python 2.7 support, simpler conditionals (user: c.kworr@f767742a-4495-3fff-757e-17af2457c78a, size: 9134) [annotate] [blame] [check-ins using]
To Artifact [50b39ef35f]:
- File spacemap.py — part of check-in [213edd15a6] at 2011-12-21 09:18:34 on branch master — __ne__ method (user: c.kworr@f767742a-4495-3fff-757e-17af2457c78a, size: 9189) [annotate] [blame] [check-ins using]
︙ | |||
314 315 316 317 318 319 320 321 322 323 324 325 326 327 | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 | + + + | if this == [None, None] and that == [None, None]: result = True break self.clear() other.clear() return(result) def __ne__(self, other): return(not self == other) def end(self): '''Returns last known point.''' end = None self.rewind() while True: this = self.pop() if this == [None, None]: |
︙ |