diff --git a/django-stubs/http/response.pyi b/django-stubs/http/response.pyi index cd53125af3..b9daa05529 100644 --- a/django-stubs/http/response.pyi +++ b/django-stubs/http/response.pyi @@ -1,5 +1,5 @@ import datetime -from collections.abc import AsyncIterable, Iterable, Iterator +from collections.abc import AsyncIterable, Iterable from io import BytesIO from json import JSONEncoder from typing import Any, overload @@ -72,7 +72,6 @@ class HttpResponseBase: def seekable(self) -> bool: ... def writable(self) -> bool: ... def writelines(self, lines: Iterable[str | bytes]) -> Never: ... - def __iter__(self) -> Iterator[Any]: ... class HttpResponse(HttpResponseBase, Iterable[bytes]): csrf_cookie_set: bool