code: def _fromset(cls, values, key=None):
          
          sorted_set = object.__new__(cls)
          sorted_set._set = values  # pylint: disable=protected-access
          sorted_set.__init__(key=key)
          return sorted_set
docs: Initialize sorted set from existing set.