pyrser/type_system/scope.py
def discard(self, it: Signature) -> bool:
        """ Remove it only if present """
        txt = it.internal_name()
        if txt in self._hsig:
            sig = self._hsig[txt]
            if isinstance(sig, Scope):
                sig.state = StateScope.LINKED
            del self._hsig[txt]
            return True
        return False
def discard(self, it: Signature) -> bool:
        txt = it.internal_name()
        if txt in self._hsig:
            sig = self._hsig[txt]
            if isinstance(sig, Scope):
                sig.state = StateScope.LINKED
            del self._hsig[txt]
            return True
        return False
def discard ( self , it : Signature ) -> bool : txt = it . internal_name ( ) if txt in self . _hsig : sig = self . _hsig [ txt ] if isinstance ( sig , Scope ) : sig . state = StateScope . LINKED del self . _hsig [ txt ] return True return False
Remove it only if present
Remove it only if present