(self)
return self.comment if len(self.comment) <= 500 else self.comment[:497] + '...'
Trim comment to 500 chars (about 100 words)
Trim comment to 500 chars (about 100 words)
Trim comment to 500 chars ( about 100 words )
def short_comment(self):
        """
        Trim comment to 500 chars (about 100 words)
        """
        return self.comment if len(self.comment) <= 500 else self.comment[:497] + '...'
def short_comment ( self ) : return self . comment if len ( self . comment ) <= 500 else self . comment [ : 497 ] + '...'