From aae91f42d19523dec6a5c0b12c74f398398b0d10 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Fri, 21 Jun 2019 11:24:08 -0700 Subject: [PATCH] Fix typo "the the" --- jinja2/filters.py | 2 +- jinja2/runtime.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2