Skip to content
Myr

fix code example, in async.md (#1388)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by podhmo · committed by GitHub · parent ceccb96 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/async.md+1 added-1 removed
167 unmodified lines
168from starlette.responses import HTMLResponse169from starlette.routing import Route170171172async def hello():172async def hello(request):173 return HTMLResponse("Hello World!")174175176app = Starlette(routes=[Route("/", hello)])
29 unmodified lines