Skip to content
Myr

fix annotation for select_jinja_autoescape (#5808)

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

authored by David Lord · committed by GitHub · parents 64dd080, dbd4c28 · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/flask/sansio/app.py+1 added-1 removed
531 unmodified lines
532 .. versionadded:: 0.7533 """534 return DispatchingJinjaLoader(self)535536 def select_jinja_autoescape(self, filename: str) -> bool:536 def select_jinja_autoescape(self, filename: str | None) -> bool:537 """Returns ``True`` if autoescaping should be active for the given538 template name. If no template name is given, returns `True`.539540 .. versionchanged:: 2.2
424 unmodified lines