def __setitem__(self, key, val):
    if isinstance(val, dict) and key in self:
        self._unique += 1
key += str(self._unique)
dict.__setitem__(self, key, val)
Config = configparser.ConfigParser(None, multidict)
Parsing configure file with same section name in python