(target, source)
return Node(syms.atom,
                target + [Leaf(token.EQUAL, "=", prefix=" ")] + source)
Build an assignment statement
Build an assignment statement
Build an assignment statement
def Assign(target, source):
    """Build an assignment statement"""
    if not isinstance(target, list):
        target = [target]
    if not isinstance(source, list):
        source.prefix = " "
        source = [source]

    return Node(syms.atom,
                target + [Leaf(token.EQUAL, "=", prefix=" ")] + source)
def Assign ( target , source ) : if not isinstance ( target , list ) : target = [ target ] if not isinstance ( source , list ) : source . prefix = " " source = [ source ] return Node ( syms . atom , target + [ Leaf ( token . EQUAL , "=" , prefix = " " ) ] + source )