]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
fix code example, in async.md (#1388)
authorpodhmo <ababjam61@gmail.com>
Wed, 11 Nov 2020 09:10:33 +0000 (18:10 +0900)
committerGitHub <noreply@github.com>
Wed, 11 Nov 2020 09:10:33 +0000 (09:10 +0000)
docs/async.md

index 1cd51b00f14383225b8ba227e00383d38374080b..3238097a8291221420f8525b1b51d7efe4d61ae5 100644 (file)
@@ -169,7 +169,7 @@ from starlette.responses import HTMLResponse
 from starlette.routing import Route
 
 
-async def hello():
+async def hello(request):
     return HTMLResponse("Hello World!")