code: def pop(self):
          
          member = self.client.spop(self.name)
          if member is not None:
              return member
          raise KeyError()
docs: Remove and return an arbitrary set element.
  
          :raises KeyError: if the set is empty.