#NEWLINE# def urljoin( base_uri , uri_reference ) : #NEWLINE# #INDENT# 'Join a base URI with a URI reference and return the resulting URI.\n\n    See RFC 3986.\n    ' #NEWLINE# return urlunsplit ( urljoin_parts ( urlsplit ( base_uri ) , urlsplit ( base_uri ) ) )