(node, text)
Add text inside ``node``.
Add text inside ``node``.
Add text inside node .
def add_text_inside(node, text):
    """ Add text inside ``node``. """
    if text is None:
        return
    if len(node):
        node[-1].tail = (node[-1].tail or "") + text
    else:
        node.text = (node.text or "") + text
def add_text_inside ( node , text ) : if text is None : return if len ( node ) : node [ - 1 ] . tail = ( node [ - 1 ] . tail or "" ) + text else : node . text = ( node . text or "" ) + text