Use print function in quickstart (#2204)

Example in URL Building section uses `print` statement
instead of `print` function, which causes syntax error
when example is run on Python 3.
This commit is contained in:
Jan Ferko 2017-03-13 13:58:24 +01:00 committed by Adrian
parent 46e8427d81
commit 1add1f8a02

View file

@ -264,10 +264,10 @@ some examples::
... def profile(username): pass
...
>>> with app.test_request_context():
... print url_for('index')
... print url_for('login')
... print url_for('login', next='/')
... print url_for('profile', username='John Doe')
... print(url_for('index'))
... print(url_for('login'))
... print(url_for('login', next='/'))
... print(url_for('profile', username='John Doe'))
...
/
/login