From 0d2e7e13d3612b319473893b170c26e1f6061642 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 5 Sep 2018 12:50:00 +0100 Subject: [PATCH] Fix imports in docs --- docs/endpoints.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/endpoints.md b/docs/endpoints.md index 96f71a98..b849139b 100644 --- a/docs/endpoints.md +++ b/docs/endpoints.md @@ -20,8 +20,8 @@ dispatch to an `HTTPEndpoint` class by using the `@app.route()` decorator, or th than to an instance of the class: ```python -from starlette.app import Starlette -from starlette.response import PlainTextResponse +from starlette.applications import Starlette +from starlette.responses import PlainTextResponse from starlette.endpoints import HTTPEndpoint