Merge pull request #60 from kylefrost/master

Fix routing doc typo
This commit is contained in:
Channel Cat 2016-10-18 21:13:26 -07:00 committed by GitHub
commit a6fa496c30

View File

@ -19,7 +19,7 @@ async def person_handler(request, integer_arg):
@app.route('/number/<number_arg:number>') @app.route('/number/<number_arg:number>')
async def person_handler(request, number_arg): async def person_handler(request, number_arg):
return text('Number - {}'.format(number)) return text('Number - {}'.format(number_arg))
@app.route('/person/<name:[A-z]>') @app.route('/person/<name:[A-z]>')
async def person_handler(request, name): async def person_handler(request, name):