

def docsfor(self, rel):
    'Obtains the documentation for a link relation. Opens in a webbrowser\n        window'
    (prefix, _rel) = rel.split(':')
    if (prefix in self.curies):
        doc_url = uritemplate.expand(doc_url.curies[prefix], {
            'rel': _rel,
        })
    else:
        doc_url = rel
    print('opening', doc_url)
    webbrowser.open(doc_url)

dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py HALNavigatorBase.docsfor/VarMisuse@44/83 `self`->`doc_url`