nodes: 0, module; 1, function_definition; 2, function_name:_fromset; 3, parameters; 4, block; 5, identifier:cls; 6, identifier:values; 7, default_parameter; 8, expression_statement; 9, expression_statement; 10, expression_statement; 11, comment:# pylint: disable=protected-access; 12, expression_statement; 13, return_statement; 14, identifier:key; 15, None; 16, comment:"""Initialize sorted set from existing set."""; 17, assignment; 18, assignment; 19, call; 20, identifier:sorted_set; 21, identifier:sorted_set; 22, call; 23, attribute; 24, identifier:values; 25, attribute; 26, argument_list; 27, attribute; 28, argument_list; 29, identifier:sorted_set; 30, identifier:_set; 31, identifier:sorted_set; 32, identifier:__init__; 33, keyword_argument; 34, identifier:object; 35, identifier:__new__; 36, identifier:cls; 37, identifier:key; 38, identifier:key
code: def _fromset(cls, values, key=None):
          """Initialize sorted set from existing set."""
          sorted_set = object.__new__(cls)
          sorted_set._set = values  # pylint: disable=protected-access
          sorted_set.__init__(key=key)
          return sorted_set