def make_linkcode_resolve(package, url_fmt):
 revision = _get_git_revision()
 return partial(_linkcode_resolve, revision=revision, package=package, url_fmt=url_fmt)

def make_linkcode_resolve ( package , url_fmt ) : revision = _get_git_revision ( ) return partial ( _linkcode_resolve , revision = revision , package = package , url_fmt = url_fmt )
returns a linkcode_resolve function for the given url format revision is a git commit reference package is the name of the root module of the package url_fmt is along the lines of .