Skip to content

Commit

Permalink
Merge pull request pallets#4432 from sfermigier/main
Browse files Browse the repository at this point in the history
Match typing declaration with implementation.
  • Loading branch information
davidism authored Feb 8, 2022
2 parents 694eb84 + 9a134da commit bc094db
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 bc094db

Please sign in to comment.