'Removes the specified listener from the listeners list.  This relies
on object identity (i.e. the ``is`` operator).'

def _remove_listener(self, listener):

    if (self._listeners is None):
        return
    with suppress(KeyError):
        del self._listeners[id(listener)]
