def __repr__(self):
    """Returns a string representation of this slot."""
    if self.filled:
      return repr(self._value)
    else:
      return 'Slot(name="%s", slot_key="%s")' % (self.name, self.key)
def __repr__ ( self ) : if self . filled : return repr ( self . _value ) else : return 'Slot(name="%s", slot_key="%s")' % ( self . name , self . key )
Returns a string representation of this slot.