

def hideEvent(self, event):
    ' Reimplemented to disconnect signal handlers and event filter.\n        '
    super(CallTipWidget, self).hideEvent(event)
    self._text_edit.cursorPositionChanged.disconnect(self._cursor_position_changed)
    self._text_edit.removeEventFilter(self)

dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/console/call_tip_widget.py CallTipWidget.hideEvent/original