diff --git a/src/flask/helpers.py b/src/flask/helpers.py index 2b805847df..f891eed126 100644 --- a/src/flask/helpers.py +++ b/src/flask/helpers.py @@ -103,7 +103,7 @@ def decorator(*args: t.Any, **kwargs: t.Any) -> t.Any: gen = generator_or_function(*args, **kwargs) # type: ignore[operator] return stream_with_context(gen) - return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type, return-value] + return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type] def generator() -> t.Iterator[t.AnyStr | None]: ctx = _cv_request.get(None)