parameters: (self, project_name)
return_statement: return [mkurl_pypi_url(url) for url in self.index_urls]
docstring: Returns the locations found via self.index_urls
  
          Checks the url_name on the main (first in the list) index and
          use this url_name to produce all locations
docstring_summary: Returns the locations found via self.index_urls
docstring_tokens: Returns the locations found via self . index_urls
function: def get_index_urls_locations(self, project_name):
          # type: (str) -> List[str]
          """Returns the locations found via self.index_urls
  
          Checks the url_name on the main (first in the list) index and
          use this url_name to produce all locations
          """
  
          def mkurl_pypi_url(url):
              # type: (str) -> str
              loc = posixpath.join(
                  url,
                  urllib.parse.quote(canonicalize_name(project_name)))
              # For maximum compatibility with easy_install, ensure the path
              # ends in a trailing slash.  Although this isn't in the spec
              # (and PyPI can handle it without the slash) some other index
              # implementations might break if they relied on easy_install's
              # behavior.
              if not loc.endswith('/'):
                  loc = loc + '/'
              return loc
  
          return [mkurl_pypi_url(url) for url in self.index_urls]
function_tokens: def get_index_urls_locations ( self , project_name ) : # type: (str) -> List[str] def mkurl_pypi_url ( url ) : # type: (str) -> str loc = posixpath . join ( url , urllib . parse . quote ( canonicalize_name ( project_name ) ) ) # For maximum compatibility with easy_install, ensure the path # ends in a trailing slash.  Although this isn't in the spec # (and PyPI can handle it without the slash) some other index # implementations might break if they relied on easy_install's # behavior. if not loc . endswith ( '/' ) : loc = loc + '/' return loc return [ mkurl_pypi_url ( url ) for url in self . index_urls ]