def make_definition(term, ref, descriptions):
    """Constructs definition with reference to it"""
    ref = ref.replace("_", "-").replace(" ", "-")
    definition = parse_text(
            ".. _%(ref)s:\n\n*%(term)s* (ref__)\n\n__ #%(ref)s" %
            {"ref": ref, "term": term})
    for descr in descriptions:
        if isinstance(descr, (six.text_type, six.binary_type)):
            descr = paragraph(descr % "  %s")
        definition.append(descr)
    return definition
dataset/ETHPy150Open openstack/rally/doc/ext/utils.py/make_definition/swapped operands of `%`