def _str_index(self):
        idx = self['index']
        out = []
        out += [idx.get('default','') % '.. index:: %s']
        for section, references in six.iteritems(idx):
            if section == 'default':
                continue
            out += ['   :%s: %s' % (section, ', '.join(references))]
        return out
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/devtools/tests/docscrape.py/SphinxDocString._str_index/swapped operands of `%`