

def update_config(self, filename, overwrite=False):
    'Upgrade the configuration based on a new default config file.\n        Overwrite any existing values if overwrite is True.\n        '
    pcp = PythonConfigParser()
    pcp.read(filename)
    confset = (self.setall if overwrite else self.setdefaults)
    for section in pcp.sections():
        confset(section, dict(pcp.items(section)))
    pcp.write()

dataset/ETHPy150Open kivy/kivy/kivy/config.py ConfigParser.update_config/VarMisuse@72/127 `self`->`pcp`