def add_index(self, anchor, name, sig):
        """
        Add index entries to self.indexnode, if applicable.

        *name* is whatever :meth:`handle_signature()` returned.
        """
        method, url, id, title = name
        if title != sig:
            self.indexnode['entries'].append(('single',
                                              title % _("%s (HTTP method)"),
                                              anchor, anchor))
        self.indexnode['entries'].append(
            ('single',
             _("%(method)s (HTTP method); %(url)s") % {'method': method,
                                                       'url': url},
             anchor, anchor)
        )
dataset/ETHPy150Open deceze/Sphinx-HTTP-domain/sphinx_http_domain/directives.py/HTTPMethod.add_index/swapped operands of `%`