code: def items(self, section=None):
          
          if not section and self.section:
              section = self.section
          config = self.config.get(section, {}) if section else self.config
          return config.items()
docs: Provide dict like items method