def namedChildren(parent, nodeName):
    return [n for n in parent.childNodes if getattr(n, 'tagName', '')==nodeName]
namedChildren(parent, nodeName) -> children (not descendants) of parent
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/domhelpers.py/namedChildren