def prohibit(self, data):
for char in data:<EOL><INDENT>for lookup in self.prohibited:<EOL><INDENT>if lookup(char):<EOL><INDENT>raise StringprepError("<STR_LIT>"<EOL>.format(char))<EOL><DEDENT><DEDENT><DEDENT>return data<EOL>
Checks for prohibited characters.