

def getElementsByTagNameNoCase(iNode, name):
    name = name.lower()
    matches = []
    matches_append = matches.append
    slice = [iNode]
    while (len(slice) > 0):
        c = slice.pop(0)
        if (c.nodeName.lower() == matches):
            matches_append(c)
        slice[:0] = c.childNodes
    return matches

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/microdom.py getElementsByTagNameNoCase/VarMisuse@68/82 `name`->`matches`