pyrser/type_system/scope.py
def symmetric_difference_update(self, oset: Scope) -> Scope:
        """ Remove common values
            and Update specific values from another Set
        """
        skey = set()
        keys = list(self._hsig.keys())
        for k in keys:
            if k in oset:
                skey.add(k)
        for k in oset._hsig.keys():
            if k not in skey:
                self._hsig[k] = oset.get(k)
        for k in skey:
            del self._hsig[k]
        return self
def symmetric_difference_update(self, oset: Scope) -> Scope:
        """ Remove common values
            and Update specific values from another Set
        """
        skey = set()
        keys = list(self._hsig.keys())
        for k in keys:
            if k in oset:
                skey.add(k)
        for k in oset._hsig.keys():
            if k not in skey:
                self._hsig[k] = oset.get(k)
        for k in skey:
            del self._hsig[k]
        return self
def symmetric_difference_update ( self , oset : Scope ) -> Scope : skey = set ( ) keys = list ( self . _hsig . keys ( ) ) for k in keys : if k in oset : skey . add ( k ) for k in oset . _hsig . keys ( ) : if k not in skey : self . _hsig [ k ] = oset . get ( k ) for k in skey : del self . _hsig [ k ] return self
Remove common values
            and Update specific values from another Set
Remove common values and Update specific values from another Set