def add(self, it: Signature) -> bool:
if isinstance(it, Scope):<EOL><INDENT>it.state = StateScope.EMBEDDED<EOL><DEDENT>txt = it.internal_name()<EOL>it.set_parent(self)<EOL>if self.is_namespace:<EOL><INDENT>txt = it.internal_name()<EOL><DEDENT>if txt == "<STR_LIT>":<EOL><INDENT>txt = '<STR_LIT:_>' + str(len(self._hsig))<EOL><DEDENT>if txt in self._hsig:<EOL><INDENT>raise KeyError("<STR_LIT>" % txt)<EOL><DEDENT>self._hsig[txt] = it<EOL>self.__update_count()<EOL>return True<EOL>
Add it to the Set