Generally a generator expression would be more idiomatic in Python than map/lambda.
html(t"<ul>{(t"<li>{i}</li>" for i in items)}</ul>")