Skip to content

Commit

Permalink
Match typing declaration with implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermigier committed Jan 27, 2022
1 parent fdac8a5 commit 9a134da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/flask/templating.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def _render(template: Template, context: dict, app: "Flask") -> str:


def render_template(
template_name_or_list: t.Union[str, t.List[str]], **context: t.Any
template_name_or_list: t.Union[str, Template, t.List[t.Union[str, Template]]],
**context: t.Any
) -> str:
"""Renders a template from the template folder with the given
context.
Expand Down

0 comments on commit 9a134da

Please sign in to comment.