def relative_ref(self, baseURI):
        # workaround for posixpath bug in 2.6, doesn't generate correct
        # relative path when *start* (second) parameter is root ('/')
        if baseURI == '/':
            relpath = self[1:]
        else:
            relpath = posixpath.relpath(self, baseURI)
        return relpath
Return string containing relative reference to package item from
dataset/ETHPy150Open python-openxml/python-docx/docx/opc/packuri.py/PackURI.relative_ref