def getTextFromNode(node):
    t = ""
    for n in node.childNodes:
        if n.nodeType == n.TEXT_NODE:
            t += n.nodeValue
        else:
            raise NotTextNodeError
    return t
Conditionally define a name.
dataset/ETHPy150Open agiliq/merchant/billing/utils/xml_parser.py/getTextFromNode--crossover with--dataset/ETHPy150Open appcelerator-archive/poc-nodejs-desktop/Resources/nodejs/builds/linux/node/lib/node/wafadmin/Tools/config_c.py/define_cond