def test():
    # Line breaks are allowed within parentheses.
    if (
        1 == 1
        and 2 == 2 and
        3 == 3
    ):
        pass
    # Alternatively, backslashes can be used.
    if 1 == 1 \
        and 2 == 2 and \
        case 3 == 3:
        pass
