]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Correct documentation for min method (#825)
authorSean Sabbage <sgsabbage@gmail.com>
Mon, 19 Mar 2018 14:05:42 +0000 (14:05 +0000)
committerAdrian <adrian@planetcoding.net>
Mon, 19 Mar 2018 14:05:42 +0000 (15:05 +0100)
jinja2/filters.py

index a323e2587c07108a20dcbe9397b99b7443b39ed1..62cc1ff7e2f6e05b434ea1979c1c75766a822640 100644 (file)
@@ -332,7 +332,7 @@ def do_min(environment, value, case_sensitive=False, attribute=None):
             -> 1
 
     :param case_sensitive: Treat upper and lower case strings as distinct.
-    :param attribute: Get the object with the max value of this attribute.
+    :param attribute: Get the object with the min value of this attribute.
     """
     return _min_or_max(environment, value, min, case_sensitive, attribute)