]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏ Fix typos in docs and source examples (#2102)
authorAdrian <me@adriandeanda.com>
Thu, 5 Nov 2020 22:14:17 +0000 (16:14 -0600)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 22:14:17 +0000 (23:14 +0100)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/async.md
tests/test_multipart_installation.py

index 7c3dcfdea03a4806cd49dcf7375b57edc8fc24db..07afd7bdc6930956eeb2f8de03f837208351220b 100644 (file)
@@ -210,7 +210,7 @@ Most of the existing popular Python frameworks (including Flask and Django) were
 
 Even though the main specification for asynchronous web Python (ASGI) was developed at Django, to add support for WebSockets.
 
-That kind of asynchronicity is what made NodeJS popular (even though NodeJS is not parallel) and that's the strength of Go as a programing language.
+That kind of asynchronicity is what made NodeJS popular (even though NodeJS is not parallel) and that's the strength of Go as a programming language.
 
 And that's the same level of performance you get with **FastAPI**.
 
index c134332d324fcb3cbcecd8343ea603b3b5c4b1ff..c8a6fd942fa1ac2780fe73630dd40190c8ed9226 100644 (file)
@@ -42,7 +42,7 @@ def test_incorrect_multipart_installed_multi_form(monkeypatch):
         app = FastAPI()
 
         @app.post("/")
-        async def root(username: str = Form(...), pasword: str = Form(...)):
+        async def root(username: str = Form(...), password: str = Form(...)):
             return username  # pragma: nocover