cursesmenu/curses_menu.py
def show(self, index):
        """
        This class overrides this method
        """
        if self.menu and self.menu.parent:
            self.text = "Return to %s menu" % self.menu.parent.title
        else:
            self.text = "Exit"
        return super(ExitItem, self).show(index)
def show(self, index):
        """
        This class overrides this method
        """
        if self.menu and self.menu.parent:
            self.text = "Return to %s menu" % self.menu.parent.title
        else:
            self.text = "Exit"
        return super(ExitItem, self).show(index)
def show ( self , index ) : if self . menu and self . menu . parent : self . text = "Return to %s menu" % self . menu . parent . title else : self . text = "Exit" return super ( ExitItem , self ) . show ( index )
This class overrides this method
This class overrides this method