Skip to content
Myr

More doc typo fixes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 8da8a21 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/api.rst+2 added-2 removed
511 unmodified lines
512`float` like `int` but for floating point values513`path` like the default but also accepts slashes514=========== ===============================================515516Here some examples::516Here are some examples::517518 @app.route('/')519 def index():520 pass
12 unmodified lines
5335341. If a rule ends with a slash and is requested without a slash by the535 user, the user is automatically redirected to the same page with a536 trailing slash attached.5372. If a rule does not end with a trailing slash and the user request the5372. If a rule does not end with a trailing slash and the user requests the538 page with a trailing slash, a 404 not found is raised.539540This is consistent with how web servers deal with static files. This541also makes it possible to use relative link targets safely.
83 unmodified lines