parameters: (self, other)
return_statement: return self.intersection(other)
docstring: Return the intersection of two sets as a new set.
  
          (I.e. all elements that are in both sets.)
docstring_summary: Return the intersection of two sets as a new set.
docstring_tokens: Return the intersection of two sets as a new set .
function: def __and__(self, other):
          """Return the intersection of two sets as a new set.
  
          (I.e. all elements that are in both sets.)
          """
          if not isinstance(other, BaseSet):
              return NotImplemented
          return self.intersection(other)
function_tokens: def __and__ ( self , other ) : if not isinstance ( other , BaseSet ) : return NotImplemented return self . intersection ( other )