def check_prohibited_output(chars, bad_tables):
    """
    Check against prohibited output, by checking whether any of the characters
    from `chars` are in any of the `bad_tables`.

    Operates in-place on a list of code points from `chars`.
    """
    violator = check_against_tables(chars, bad_tables)
    if violator is not None:
        raise ValueError("Input contains invalid unicode codepoint: "
                         "U+{:04x}".format(ord(violator)))
def check_prohibited_output ( chars , bad_tables ) : violator = check_against_tables ( chars , bad_tables ) if violator is not None : raise ValueError ( "Input contains invalid unicode codepoint: " "U+{:04x}" . format ( ord ( violator ) ) )
Check against prohibited output, by checking whether any of the characters
    from `chars` are in any of the `bad_tables`.

    Operates in-place on a list of code points from `chars`.