parameters: (self, other)
return_statement: return result
docstring: Return the symmetric difference of two sets as a new set.
  
          (I.e. all elements that are in exactly one of the sets.)
docstring_summary: Return the symmetric difference of two sets as a new set.
docstring_tokens: Return the symmetric difference of two sets as a new set .
function: def symmetric_difference(self, other):
          """Return the symmetric difference of two sets as a new set.
  
          (I.e. all elements that are in exactly one of the sets.)
          """
          result = self.__class__()
          data = result._data
          value = True
          selfdata = self._data
          try:
              otherdata = other._data
          except AttributeError:
              otherdata = Set(other)._data
          for elt in ifilterfalse(otherdata.has_key, selfdata):
              data[elt] = value
          for elt in ifilterfalse(selfdata.has_key, otherdata):
              data[elt] = value
          return result
function_tokens: def symmetric_difference ( self , other ) : result = self . __class__ ( ) data = result . _data value = True selfdata = self . _data try : otherdata = other . _data except AttributeError : otherdata = Set ( other ) . _data for elt in ifilterfalse ( otherdata . has_key , selfdata ) : data [ elt ] = value for elt in ifilterfalse ( selfdata . has_key , otherdata ) : data [ elt ] = value return result