Skip to content
Myr

Merge pull request #4057 from rafaVls/unused-escape-import

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

Unused escape import

authored by David Lord · committed by GitHub · parents 6e0fb11, 9c186cc · 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/quickstart.rst+2 added-2 removed
244 unmodified lines
245246 @app.route('/user/<username>')247 def show_user_profile(username):248 # show the user profile for that user249 return f'User {username}'249 return f'User {escape(username)}'250251 @app.route('/post/<int:post_id>')252 def show_post(post_id):253 # show the post with the given id, the id is an integer
1 unmodified line
255256 @app.route('/path/<path:subpath>')257 def show_subpath(subpath):258 # show the subpath after /path/259 return f'Subpath {subpath}'259 return f'Subpath {escape(subpath)}'260261Converter types:262263========== ==========================================
675 unmodified lines