From c5c37f56a1232ff924a6bfda6c1c05e64a6241b1 Mon Sep 17 00:00:00 2001 From: yossyJ <28825627+yossyJ@users.noreply.github.com> Date: Tue, 8 Jan 2019 23:57:45 +0900 Subject: Allow trailing commas in tuples (#188) --- testing/templates/for.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/templates/for.html b/testing/templates/for.html index f749752..3d4533b 100644 --- a/testing/templates/for.html +++ b/testing/templates/for.html @@ -1,6 +1,6 @@ {% for s in strings %} {{- loop.index0 }}. {{ s }}{% if loop.first %} (first){% endif %} {% endfor %} -{% for (s1, s2) in tuple_strings %} +{% for (s1, s2, ) in tuple_strings %} {{- loop.index0 }}. {{ s1 }},{{ s2 }}{% if loop.first %} (first){% endif %} {% endfor %} -- cgit