pyrser/type_system/scope.py
def intersection_update(self, oset: Scope) -> Scope:
        """ Update Set with common values of another Set """
        keys = list(self._hsig.keys())
        for k in keys:
            if k not in oset:
                del self._hsig[k]
            else:
                self._hsig[k] = oset.get(k)
        return self
def intersection_update(self, oset: Scope) -> Scope:
        """ Update Set with common values of another Set """
        keys = list(self._hsig.keys())
        for k in keys:
            if k not in oset:
                del self._hsig[k]
            else:
                self._hsig[k] = oset.get(k)
        return self
Update Set with common values of another Set