From: Armin Ronacher Date: Sat, 10 Apr 2010 11:03:46 +0000 (+0200) Subject: three is the new two X-Git-Tag: 2.4~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e3c9c7b0aed966976bee0a968e3780271d52129;p=jinja2.git three is the new two --HG-- branch : trunk --- diff --git a/docs/api.rst b/docs/api.rst index 89fe11d..3bf8a94 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -584,7 +584,7 @@ Inside the template it can then be used as follows: Filters can also be passed the current template context or environment. This is useful if a filter wants to return an undefined value or check the current -:attr:`~Environment.autoescape` setting. For this purpose two decorators +:attr:`~Environment.autoescape` setting. For this purpose three decorators exist: :func:`environmentfilter`, :func:`contextfilter` and :func:`evalcontextfilter`.