diff --git a/README.rst b/README.rst index 10bc8920..7f8ba439 100644 --- a/README.rst +++ b/README.rst @@ -21,12 +21,12 @@ Hello World Example app = Sanic() - @app.route("/") + @app.route('/') async def test(request): - return json({"hello": "world"}) + return json({'hello': 'world'}) - if __name__ == "__main__": - app.run(host="0.0.0.0", port=8000) + if __name__ == '__main__': + app.run(host='0.0.0.0', port=8000) Installation ------------