def simplify_valign(valign_type, valign_amount):
    if valign_type == RELATIVE:
        return (valign_type, valign_amount)
    return valign_type
Recombine (valign_type, valign_amount) into an valign value.
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/decoration.py/simplify_valign