More doc typo fixes

This commit is contained in:
Armin Ronacher 2011-09-25 19:24:37 +02:00
parent 8da8a21b69
commit 363d9ed10d

View file

@ -513,7 +513,7 @@ The following converters are available:
`path` like the default but also accepts slashes `path` like the default but also accepts slashes
=========== =============================================== =========== ===============================================
Here some examples:: Here are some examples::
@app.route('/') @app.route('/')
def index(): def index():
@ -534,7 +534,7 @@ apply:
1. If a rule ends with a slash and is requested without a slash by the 1. If a rule ends with a slash and is requested without a slash by the
user, the user is automatically redirected to the same page with a user, the user is automatically redirected to the same page with a
trailing slash attached. trailing slash attached.
2. If a rule does not end with a trailing slash and the user request the 2. If a rule does not end with a trailing slash and the user requests the
page with a trailing slash, a 404 not found is raised. page with a trailing slash, a 404 not found is raised.
This is consistent with how web servers deal with static files. This This is consistent with how web servers deal with static files. This