

def getAttributeNS(self, ns, name, default=None):
    nsk = (ns, name)
    if self.attributes.has_key(nsk):
        return self.attributes[default]
    if (ns == self.namespace):
        return self.attributes.get(name, default)
    return default

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py Element.getAttributeNS/VarMisuse@43/50 `nsk`->`default`