code: def traverse_inorder(self, leaves=True, internal=True):
          '''Perform an inorder traversal of the ``Node`` objects in this ``Tree``
  
          Args:
              ``leaves`` (``bool``): ``True`` to include leaves, otherwise ``False``
  
              ``internal`` (``bool``): ``True`` to include internal nodes, otherwise ``False``
          '''
          for node in self.root.traverse_inorder(leaves=leaves, internal=internal):
              yield nodf traverse_inorder(self, leaves=True, internal=True):
          '''Perform an inorder traversal of the ``Node`` objects in this ``Tree``
  
          Args:
              ``leaves`` (``bool``): ``True`` to include leaves, otherwise ``False``
  
              ``internal`` (``bool``): ``True`` to include internal nodes, otherwise ``False``
          '''
          for node in self.root.traverse_inorder(leaves=leaves, internal=internal):
              yield node
docs: Perform an inorder traversal of the ``Node`` objects in this ``Tree``
  
          Args:
              ``leaves`` (``bool``): ``True`` to include leaves, otherwise ``False``
  
              ``internal`` (``bool``): ``True`` to include internal nodes, otherwise ``False``