Skip to content
Myr

Merge branch '3.1.x'

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

authored by David Lord · committed by David Lord · parents 37561ce, 3e07d14 · Browse files · 2 files+1 added−2 removed
This commit

State

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

Diff stats

2 files+1 added−2 removed

  • other:+1 added−2 removed

2 files+1 added−2 removed

modified:src/jinja2/compiler.py-1 removed
991 unmodified lines
992 # if the number of extends statements in general is zero so993 # far, we don't have to add a check if something extended994 # the template before this one.995 if self.extends_so_far > 0:996996 # if we have a known extends we just add a template runtime997 # error into the generated code. We could catch that at compile998 # time too, but i welcome it not to confuse users by throwing the999 # same error at different times just "because we can".
957 unmodified lines
modified:.pre-commit-config.yaml+1 added-1 removed