use single quote in readme.rst

As we use single quote in sanic package, we may be supposed to use single quote in readme also?
This commit is contained in:
cosven 2018-01-15 14:55:36 +08:00 committed by GitHub
parent ab97018c78
commit a94a2d46d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,12 +21,12 @@ Hello World Example
app = Sanic() app = Sanic()
@app.route("/") @app.route('/')
async def test(request): async def test(request):
return json({"hello": "world"}) return json({'hello': 'world'})
if __name__ == "__main__": if __name__ == '__main__':
app.run(host="0.0.0.0", port=8000) app.run(host='0.0.0.0', port=8000)
Installation Installation
------------ ------------