Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Fix a typo in mypy documentation.

Zixuan James Lia98330b0007b
diff --git a/docs/testing/mypy.md b/docs/testing/mypy.md
index dc9eef0730f..45964579fc0 100644
--- a/docs/testing/mypy.md
+++ b/docs/testing/mypy.md
@@ -165,7 +165,7 @@ def get_book_meta_data(
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
`HttpResponse`. This type is only defined in the Django stubs, so it
has to be conditionally imported only when type