code: def inherit_handlers(self, excluded_handlers):
          # type: (Iterable[str]) -> None
          
          if not excluded_handlers:
              excluded_handlers = tuple()
  
          for handler, configuration in self.__inherited_configuration.items():
              if handler in excluded_handlers:
                  # Excluded handler
                  continue
  
              elif handler not in self.__handlers:
                  # Fully inherited configuration
                  self.__handlers[handler] = configuration
  
              # Merge configuration...
              elif isinstance(configuration, dict):
                  # Dictionary
                  self.__handlers.setdefault(handler, {}).update(configuration)
  
              elif isinstance(configuration, list):
                  # List
                  handler_conf = self.__handlers.setdefault(handler, [])
                  for item in configuration:
                      if item not in handler_conf:
                          handler_conf.append(item)
  
          # Clear the inherited configuration dictionary
          self.__inherited_configuration.clear()
docs: Merges the inherited configuration with the current ones
  
          :param excluded_handlers: Excluded handlers