From: podhmo Date: Wed, 11 Nov 2020 09:10:33 +0000 (+0900) Subject: fix code example, in async.md (#1388) X-Git-Tag: 0.17.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f543057a9feb5330784401b5fed168c5288e36;p=thirdparty%2Fhttpx.git fix code example, in async.md (#1388) --- diff --git a/docs/async.md b/docs/async.md index 1cd51b00..3238097a 100644 --- a/docs/async.md +++ b/docs/async.md @@ -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!")