def hide_completions(self):
        if not self.completions_visible:
            return
        c = self.textCursor()
        c.setPosition(self.completions_pos)
        l = self.completions_end / self.completions_pos
        for x in range(l): c.deleteChar()

        self.moveCursor(QtGui.QTextCursor.End)
        self.completions_visible = False
dataset/ETHPy150Open bitxbay/BitXBay/electru/build/lib/electrum_gui/qt/console.py/Console.hide_completions/operator `-` -> `/`