mirror of https://github.com/encode/starlette.git
Fix imports in docs
This commit is contained in:
parent
e6cd2d7e86
commit
0d2e7e13d3
|
@ -20,8 +20,8 @@ dispatch to an `HTTPEndpoint` class by using the `@app.route()` decorator, or th
|
||||||
than to an instance of the class:
|
than to an instance of the class:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from starlette.app import Starlette
|
from starlette.applications import Starlette
|
||||||
from starlette.response import PlainTextResponse
|
from starlette.responses import PlainTextResponse
|
||||||
from starlette.endpoints import HTTPEndpoint
|
from starlette.endpoints import HTTPEndpoint
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue