def removeListener(self, listener, iface=None):
        if (isinstance(listener, ICollapseListener) and
                (iface is None or issubclass(iface, ICollapseListener))):
            self.withdrawListener(CollapseEvent,
                    listener, COLLAPSE_METHOD)

        if (isinstance(listener, IExpandListener) and
                (iface is None or issubclass(iface, IExpandListener))):
            self.withdrawListener(ExpandEvent,
                    listener, EXPAND_METHOD)

        if (isinstance(listener, IItemClickListener) and
                (iface is None or issubclass(iface, IItemClickListener))):
            self.withdrawListener(VTree.ITEM_CLICK_EVENT_ID,
                    ItemClickEvent, listener)

        super(Tree, self).removeListener(listener, iface)
Removes the expand/collapse listener.
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/tree.py/Tree.removeListener