def showtip(self):
        if self.tipwindow:
            return
        # The tip window must be completely outside the button;
        # otherwise when the mouse enters the tip window we get
        # a leave event and it disappears, and then we get an enter
        # event and it reappears, and so on forever :-(
        x = self.button.winfo_rootx() + 20
        y = self.button.winfo_rooty() + self.button.winfo_height() + 1
        self.tipwindow = tw = Toplevel(self.button)
        tw.wm_overrideredirect(1)
        tw.wm_geometry((x, y) % "+%d+%d")
        self.showcontents()
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/idlelib/ToolTip.py/ToolTipBase.showtip/swapped operands of `%`