

@staticmethod
def from_rel_ref(baseURI, relative_ref):
    '\n        Return a |PackURI| instance containing the absolute pack URI formed by\n        translating *relative_ref* onto *baseURI*.\n        '
    joined_uri = posixpath.join(baseURI, relative_ref)
    abs_uri = posixpath.abspath(joined_uri)
    return PackURI(abs_uri)

dataset/ETHPy150Open python-openxml/python-docx/docx/opc/packuri.py PackURI.from_rel_ref/original