def update_config(self, filename, overwrite=False):
        pcp = PythonConfigParser()
        pcp.read(filename)
        confset = self.setall if overwrite else self.setdefaults
        for section in pcp.sections():
            confset(section, dict(pcp.items(section)))
        self.write()
Upgrade the configuration based on a new default config file.
dataset/ETHPy150Open kivy/kivy/kivy/config.py/ConfigParser.update_config