':return: A string with a short printable representation of self'

def get_short_printable_repr(self):

    if (self.get_token() is not None):
        token = self.get_token()
        dt_str = ('%s=%s' % (filter_non_printable(token.get_name()), filter_non_printable(token.get_value())))
        return ('...%s...' % dt_str[:(self.MAX_PRINTABLE - 6)])
    else:
        return filter_non_printable(str(self))[:self.MAX_PRINTABLE]
