def _remove_listener(self, listener):
        """
        Removes the specified listener from the listeners list.  This relies
        on object identity (i.e. the ``is`` operator).
        """

        if self._listeners is None:
            return

        try:
            del self._listeners[id(listener)]
        except __HOLE__:
            pass
dataset/ETHPy150Open spacetelescope/PyFITS/pyfits/util.py/NotifierMixin._remove_listener