code: def _add_dot_key(self, section, key=None):
          
          if key:
              self._dot_keys[self._to_dot_key(section, key)] = (section, key)
          else:
              self._dot_keys[self._to_dot_key(section)] = section
docs: :param str section: Config section
          :param str key: Config key