parameters: (self, result, info)
docstring: Update a result dictionary (the final result from _get_project) with a dictionary for a
          specific version, whih typically holds information gleaned from a filename or URL for an
          archive for the distribution.
docstring_summary: Update a result dictionary (the final result from _get_project) with a dictionary for a
          specific version, whih typically holds information gleaned from a filename or URL for an
          archive for the distribution.
docstring_tokens: Update a result dictionary ( the final result from _get_project ) with a dictionary for a specific version whih typically holds information gleaned from a filename or URL for an archive for the distribution .
function: def _update_version_data(self, result, info):
          """
          Update a result dictionary (the final result from _get_project) with a dictionary for a
          specific version, whih typically holds information gleaned from a filename or URL for an
          archive for the distribution.
          """
          name = info.pop('name')
          version = info.pop('version')
          if version in result:
              dist = result[version]
              md = dist.metadata
          else:
              dist = make_dist(name, version, scheme=self.scheme)
              md = dist.metadata
          dist.md5_digest = info.get('md5_digest')
          if 'python-version' in info:
              md['Requires-Python'] = info['python-version']
          if md['Download-URL'] != info['url']:
              md['Download-URL'] = self.prefer_url(md['Download-URL'],
                                                   info['url'])
          dist.locator = self
          result[version] = dist
function_tokens: def _update_version_data ( self , result , info ) : name = info . pop ( 'name' ) version = info . pop ( 'version' ) if version in result : dist = result [ version ] md = dist . metadata else : dist = make_dist ( name , version , scheme = self . scheme ) md = dist . metadata dist . md5_digest = info . get ( 'md5_digest' ) if 'python-version' in info : md [ 'Requires-Python' ] = info [ 'python-version' ] if md [ 'Download-URL' ] != info [ 'url' ] : md [ 'Download-URL' ] = self . prefer_url ( md [ 'Download-URL' ] , info [ 'url' ] ) dist . locator = self result [ version ] = dist