def setUnion( as, bs ):
    """returns a new set that is the union of as and bs"""
    set = setCopy( as )
    for b in bs:
        setAdd( set, b )
    return set
returns a new set that is the union of as and bs
recipes/Python/355531_Simple_patternbased_string/recipe-355531.py