def get(self, k, v=None):
        """
        DS.get(k[,v]) -> DS[v] if k in DS, else set(v).
        v defaults to None.
        """
        if k in self:
            return self[k]
        if v == None:
            return

        try:
            return set(v)
        except:
            raise

        DS.get(k[,v]) -> DS[v] if k in DS, else set(v).
        v defaults to None.
        
recipes/Python/577702_DictSet__specialized_Pythcontainer_datatype/recipe-577702.py