code: def save_configuration(self):
          
          self.check_credentials()
          # get distutils to do the work
          c = self._get_pypirc_command()
          c._store_pypirc(self.username, self.password)
docs: Save the PyPI access configuration. You must have set ``username`` and
          ``password`` attributes before calling this method.
  
          Again, distutils is used to do the actual work.