human
I wrote the below code

    def link_repl(href):
        return urljoin(base_url, href)
    rewrite_links(root, link_repl)

What's a good function header?
assistant
#Here's a good function header.

def make_links_absolute(root, base_url):