Skip to content
Myr

run latest black format

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 · parent a18ae3d · Browse files · 1 file+2 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

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/flask/templating.py+2 added-2 removed
132 unmodified lines
133134135def render_template(136 template_name_or_list: t.Union[str, Template, t.List[t.Union[str, Template]]],137 **context: t.Any137 **context: t.Any,138) -> str:139 """Render a template by name with the given context.140141 :param template_name_or_list: The name of the template to render. If
37 unmodified lines
179180181def stream_template(182 template_name_or_list: t.Union[str, Template, t.List[t.Union[str, Template]]],183 **context: t.Any183 **context: t.Any,184) -> t.Iterator[str]:185 """Render a template by name with the given context as a stream.186 This returns an iterator of strings, which can be used as a187 streaming response from a view.
25 unmodified lines