

def setNamespaceLocalName(self):
    (ns, sep, self._localName) = ns.tag.rpartition('}')
    if sep:
        self._namespaceURI = ns[1:]
    else:
        self._namespaceURI = None
    if self.prefix:
        self._prefixedName = ((self.prefix + ':') + self.localName)
    else:
        self._prefixedName = self.localName

dataset/ETHPy150Open Arelle/Arelle/arelle/ModelObject.py ModelObject.setNamespaceLocalName/VarMisuse@20/26 `self`->`ns`