def remove(self, it: Signature) -> bool:
txt = it.internal_name()<EOL>if txt not in self._hsig:<EOL><INDENT>raise KeyError(it.show_name() + '<STR_LIT>')<EOL><DEDENT>sig = self._hsig[txt]<EOL>if isinstance(sig, Scope):<EOL><INDENT>sig.state = StateScope.LINKED<EOL><DEDENT>del self._hsig[txt]<EOL>return True<EOL>
Remove it but raise KeyError if not found