Skip to content
Myr

fix mypy finding

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 273123f · 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/helpers.py+1 added-1 removed
89 unmodified lines
90 def decorator(*args: t.Any, **kwargs: t.Any) -> t.Any:91 gen = generator_or_function(*args, **kwargs) # type: ignore[operator]92 return stream_with_context(gen)9394 return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type]94 return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type, return-value]9596 def generator() -> t.Iterator[t.AnyStr | None]:97 ctx = _cv_request.get(None)98 if ctx is None:
523 unmodified lines