Skip to content

Commit

Permalink
Add fixes for typeddjango#392 (add -> None)
Browse files Browse the repository at this point in the history
  • Loading branch information
danifus committed Jun 8, 2020
1 parent e3997e5 commit 0a31519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django-stubs/http/response.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class HttpResponse(HttpResponseBase):
@property
def content(self) -> bytes: ...
@content.setter
def content(self, value: Any): ...
def content(self, value: Any) -> None: ...
csrf_cookie_set: bool
redirect_chain: List[Tuple[str, int]]
sameorigin: bool
Expand Down Expand Up @@ -93,7 +93,7 @@ class StreamingHttpResponse(HttpResponseBase):
@property
def streaming_content(self) -> Iterator[bytes]: ...
@streaming_content.setter
def streaming_content(self, value: Iterable[Any]): ...
def streaming_content(self, value: Iterable[Any]) -> None: ...
def __init__(self, streaming_content: Iterable[Any] = ..., *args: Any, **kwargs: Any) -> None: ...
def getvalue(self) -> bytes: ...

Expand Down

0 comments on commit 0a31519

Please sign in to comment.