Skip to content
Myr

Fix simple typo: problemtic -> problematic (#1059)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Plus rephrase the comment for greater clarity.

authored by Tim Gates · committed by Joshua Bronson · parent 436f00b · Browse files · 1 file+2 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−3 removed

  • other:+2 added−3 removed

1 file+2 added−3 removed

modified:jinja2/runtime.py+2 added-3 removed
498 unmodified lines
499 # This requires a bit of explanation, In the past we used to500 # decide largely based on compile-time information if a macro is501 # safe or unsafe. While there was a volatile mode it was largely502 # unused for deciding on escaping. This turns out to be503 # problemtic for macros because if a macro is safe or not not so504 # much depends on the escape mode when it was defined but when it505 # was used.503 # problematic for macros because whether a macro is safe depends not504 # on the escape mode when it was defined, but rather when it was used.505 #506 # Because however we export macros from the module system and507 # there are historic callers that do not pass an eval context (and508 # will continue to not pass one), we need to perform an instance
326 unmodified lines