From: Jon Dufresne Date: Fri, 21 Jun 2019 18:24:08 +0000 (-0700) Subject: Fix typo "the the" X-Git-Tag: 2.11.0~88^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1021%2Fhead;p=thirdparty%2Fjinja.git Fix typo "the the" --- diff --git a/jinja2/filters.py b/jinja2/filters.py index 10102b03..364942f1 100644 --- a/jinja2/filters.py +++ b/jinja2/filters.py @@ -280,7 +280,7 @@ def do_sort( @environmentfilter def do_unique(environment, value, case_sensitive=False, attribute=None): - """Returns a list of unique items from the the given iterable. + """Returns a list of unique items from the given iterable. .. sourcecode:: jinja diff --git a/jinja2/runtime.py b/jinja2/runtime.py index b1972f8c..3f0a8a4c 100644 --- a/jinja2/runtime.py +++ b/jinja2/runtime.py @@ -401,7 +401,7 @@ class LoopContextBase(object): return self._recurse(iterable, self._recurse, self.depth0 + 1) # a nifty trick to enhance the error message if someone tried to call - # the the loop without or with too many arguments. + # the loop without or with too many arguments. __call__ = loop del loop