def remove(self):
for disconnectors in self._disconnectors:<EOL><INDENT>disconnectors()<EOL><DEDENT>for sel in self.selections:<EOL><INDENT>self.remove_selection(sel)<EOL><DEDENT>for s in type(self)._keep_alive.values():<EOL><INDENT>with suppress(KeyError):<EOL><INDENT>s.remove(self)<EOL><DEDENT><DEDENT>
Remove a cursor.

Remove all `Selection`\\s, disconnect all callbacks, and allow the
cursor to be garbage collected.