From: Min ho Kim Date: Sun, 7 Jul 2019 13:07:29 +0000 (+1000) Subject: Apply suggestions X-Git-Tag: 2.11.0~84^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55e4a130756e6204517cfc34aacdc647ddd5b162;p=thirdparty%2Fjinja.git Apply suggestions --- diff --git a/jinja2/bccache.py b/jinja2/bccache.py index ec980ae2..69a7da2a 100644 --- a/jinja2/bccache.py +++ b/jinja2/bccache.py @@ -3,9 +3,8 @@ jinja2.bccache ~~~~~~~~~~~~~~ - This module implements the bytecode cache system Jinja is optionally - using. This is useful if you have very complex template situations and - the compilation of all those templates slow down your application too + This module implements the bytecode cache system that Jinja optionally uses. This is useful if you have very complex template situations and + the compilation of all those templates slows down your application too much. Situations where this is useful are often forking web applications that diff --git a/jinja2/runtime.py b/jinja2/runtime.py index 026347e7..026ddd84 100644 --- a/jinja2/runtime.py +++ b/jinja2/runtime.py @@ -510,7 +510,7 @@ class Macro(object): # check here. # # This is considered safe because an eval context is not a valid - # argument to callables otherwise anyways. Worst case here is + # argument to callables otherwise anyway. Worst case here is # that if no eval context is passed we fall back to the compile # time autoescape flag. if args and isinstance(args[0], EvalContext):