From 3c6362697c5b8b72e35b17941741d1a9f5f72401 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Haso=C5=88?= Date: Thu, 6 Jun 2013 22:55:44 +0200 Subject: [PATCH] Fixed typo in doc for the reverse filter --- doc/filters/reverse.rst | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/filters/reverse.rst b/doc/filters/reverse.rst index ea0326b..752192b 100644 --- a/doc/filters/reverse.rst +++ b/doc/filters/reverse.rst @@ -23,13 +23,13 @@ The ``reverse`` filter reverses a sequence, a mapping, or a string: .. code-block:: jinja - {% for key, value in {1: "a", 2: "b"}|reverse %} + {% for key, value in {1: "a", 2: "b", 3: "c"}|reverse %} {{ key }}: {{ value }} {%- endfor %} {# output: 0: c 1: b 2: a #} - {% for key, value in {1: "a", 2: "b"}|reverse(true) %} + {% for key, value in {1: "a", 2: "b", 3: "c"}|reverse(true) %} {{ key }}: {{ value }} {%- endfor %} -- 1.7.2.5