From: Armin Ronacher Date: Fri, 13 Apr 2007 20:34:35 +0000 (+0200) Subject: [svn] fixed typo in docstring X-Git-Tag: 2.0rc1~360 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=893760773f8426d6f9b7687f3108415d56dfbb50;p=jinja2.git [svn] fixed typo in docstring --HG-- branch : trunk --- diff --git a/jinja/filters.py b/jinja/filters.py index e77b891..089554c 100644 --- a/jinja/filters.py +++ b/jinja/filters.py @@ -624,7 +624,7 @@ def do_slice(slices, fill_with=None): those items. Useful if you want to create a div containing three div tags that represent columns: - .. sourcecode:: jinja + .. sourcecode:: html+jinja
{%- for column in items|slice(3) %} @@ -665,7 +665,7 @@ def do_batch(linecount, fill_with=None): given number of items. If you provide a second parameter this is used to fill missing items. See this example: - .. sourcecode:: jinja + .. sourcecode:: html+jinja {%- for row in items|batch(3, ' ') %}