(self, obj)
| 244 | |
| 245 | # remove(obj): displace an object. |
| 246 | def remove(self, obj): |
| 247 | for k in self._getrange((obj.x0, obj.y0, obj.x1, obj.y1)): |
| 248 | try: |
| 249 | self._grid[k].remove(obj) |
| 250 | except (KeyError, ValueError): |
| 251 | pass |
| 252 | self._objs.remove(obj) |
| 253 | return |
| 254 | |
| 255 | # find(): finds objects that are in a certain area. |
| 256 | def find(self, (x0,y0,x1,y1)): |
no test coverage detected