]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fix typo "the the" 1021/head
authorJon Dufresne <jon.dufresne@gmail.com>
Fri, 21 Jun 2019 18:24:08 +0000 (11:24 -0700)
committerJon Dufresne <jon.dufresne@gmail.com>
Fri, 21 Jun 2019 18:24:08 +0000 (11:24 -0700)
jinja2/filters.py
jinja2/runtime.py

index 10102b03110de214183cddf4ca6ab381045e6b9d..364942f18d07b7468d9e49150e2ea43ffc701466 100644 (file)
@@ -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
 
index b1972f8c7d4d5b0a04447ba70bc1251960d68292..3f0a8a4c069da8bf4f35871fa384690a26980e2f 100644 (file)
@@ -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