From: Sean Sabbage Date: Mon, 19 Mar 2018 14:05:42 +0000 (+0000) Subject: Correct documentation for min method (#825) X-Git-Tag: 2.11.0~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b1ab9f6ef25d392b7440eff1f1ffaff007bb6f;p=thirdparty%2Fjinja.git Correct documentation for min method (#825) --- diff --git a/jinja2/filters.py b/jinja2/filters.py index a323e258..62cc1ff7 100644 --- a/jinja2/filters.py +++ b/jinja2/filters.py @@ -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)