def update(self, dict):
        """
        Copy (key,value) pairs from 'dict'.
        """
        for k,v in dict.items():
            self[k] = v

        Copy (key,value) pairs from 'dict'.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/util.py