code: def update_dict(self, newdata: dict) -> 'Language':
          
          return Language.make(
              language=newdata.get('language', self.language),
              extlangs=newdata.get('extlangs', self.extlangs),
              script=newdata.get('script', self.script),
              region=newdata.get('region', self.region),
              variants=newdata.get('variants', self.variants),
              extensions=newdata.get('extensions', self.extensions),
              private=newdata.get('private', self.private)
          )
docs: Update the attributes of this Language from a dictionary.