Skip to content
Myr

hash lstrip_blocks in lexer cache

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

authored by Kristi Tsukida · committed by Kristi Tsukida · parent ca927f8 · Browse files · 1 file+1 added−0 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+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:jinja2/lexer.py+1 added
381 unmodified lines
382 environment.comment_end_string,383 environment.line_statement_prefix,384 environment.line_comment_prefix,385 environment.trim_blocks,386 environment.lstrip_blocks,387 environment.newline_sequence)388 lexer = _lexer_cache.get(key)389 if lexer is None:390 lexer = Lexer(environment)
298 unmodified lines