def _remove_word(completer):
def inner(word: str):<EOL><INDENT>try:<EOL><INDENT>completer.words.remove(word)<EOL><DEDENT>except Exception:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return inner<EOL>
Used to remove words from the completors