aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/for.html
diff options
context:
space:
mode:
authorLibravatar yossyJ <28825627+yossyJ@users.noreply.github.com>2019-01-08 23:57:45 +0900
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2019-01-08 15:57:45 +0100
commitc5c37f56a1232ff924a6bfda6c1c05e64a6241b1 (patch)
tree01a8218aa66c8ac8f1572c27f0d7c2a687e25060 /testing/templates/for.html
parent99596c41f8b6f09b67427ba15e40a7fe3130e459 (diff)
downloadaskama-c5c37f56a1232ff924a6bfda6c1c05e64a6241b1.tar.gz
askama-c5c37f56a1232ff924a6bfda6c1c05e64a6241b1.tar.bz2
askama-c5c37f56a1232ff924a6bfda6c1c05e64a6241b1.zip
Allow trailing commas in tuples (#188)
Diffstat (limited to '')
-rw-r--r--testing/templates/for.html2
1 files changed, 1 insertions, 1 deletions
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 %}