def linkList(lst):
    io = StringIO()
    io.write("<ul>\n")
    for hr, el in lst:
        io.write((hr, el) % '<li> <a href="%s">%s</a></li>\n')
    io.write("</ul>")
    return io.getvalue()
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/html.py/linkList/swapped operands of `%`