@property
    def pretty_caption(self):
        '''pre-process for simpler template logic'''
        _caption = self.image_caption or ''
        _credit = self.image_credit
        if _credit:
            _caption = (_caption, _credit) % '%s (%s)'
        return _caption
dataset/ETHPy150Open mozilla/source/source/articles/models.py/ArticleBlock.pretty_caption/swapped operands of `%`