mirror of https://github.com/zulip/zulip.git
docs: Fix a typo in mypy documentation.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
parent
8b6976331a
commit
a98330b000
|
@ -165,7 +165,7 @@ def get_book_meta_data(
|
||||||
return Book.objects.filter(id__in=book_ids).values("name", "id")
|
return Book.objects.filter(id__in=book_ids).values("name", "id")
|
||||||
```
|
```
|
||||||
|
|
||||||
When writing a helper function ehat returns the response from a test
|
When writing a helper function that returns the response from a test
|
||||||
client, it should be typed as `TestHttpResponse` instead of
|
client, it should be typed as `TestHttpResponse` instead of
|
||||||
`HttpResponse`. This type is only defined in the Django stubs, so it
|
`HttpResponse`. This type is only defined in the Django stubs, so it
|
||||||
has to be conditionally imported only when type
|
has to be conditionally imported only when type
|
||||||
|
|
Loading…
Reference in New Issue