f-strings everywhere
This commit is contained in:
parent
524fd0bc8c
commit
2ae740dd49
35 changed files with 227 additions and 245 deletions
|
|
@ -144,7 +144,7 @@ def test_blueprint_url_defaults(app, client):
|
|||
|
||||
@bp.route("/foo", defaults={"baz": 42})
|
||||
def foo(bar, baz):
|
||||
return "%s/%d" % (bar, baz)
|
||||
return f"{bar}/{baz:d}"
|
||||
|
||||
@bp.route("/bar")
|
||||
def bar(bar):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue