      def __init__(self, parent):
          logger.debug("Initializing %s", self.__class__.__name__)
          super().__init__(parent, tearoff=0)
          self.root = parent.root
          self.build()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def build(self):
          """ Add the settings menu to the menu bar """
          # pylint: disable=cell-var-from-loop
 
</s> remove     def build(self):
 </s> add     def _build(self) -> None: </s> remove         self.recent_menu = tk.Menu(self, tearoff=0, postcommand=self.refresh_recent_menu)
        self.build()
 </s> add         self.recent_menu = tk.Menu(self, tearoff=0, postcommand=self._refresh_recent_menu)
        self._build() </s> remove     """ Settings menu items and functions """
    def __init__(self, parent):
 </s> add     """ Settings menu items and functions

    Parameters
    ----------
    parent: :class:`tkinter.Menu`
        The main menu bar to hold this menu item
    """
    def __init__(self, parent: MainMenuBar) -> None: </s> remove         self.build()
 </s> add         self._build() </s> remove     """ File menu items and functions """
    def __init__(self, parent):
 </s> add     """ File menu items and functions

    Parameters
    ----------
    parent: :class:`tkinter.Menu`
        The main menu bar to hold this menu item
    """
    def __init__(self, parent: MainMenuBar) -> None:
        self._build()
      def __init__(self, parent):
          logger.debug("Initializing %s", self.__class__.__name__)
          super().__init__(parent, tearoff=0)
          self.root = parent.root
        self._build()
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def build(self):
          """ Add the settings menu to the menu bar """
          # pylint: disable=cell-var-from-loop
keep keep keep keep replace keep keep keep keep keep
 locales: Add GUI menu translations 
lib/gui/menu.py