Merge pull request #3317 from csirmazbendeguz/patch-1

Fix typo in urlprocessors.rst
This commit is contained in:
David Lord 2019-08-01 13:07:52 -07:00 committed by GitHub
commit ca0acbaa53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,8 +39,8 @@ generate URLs from one function to another you would have to still provide
the language code explicitly which can be annoying.
For the latter, this is where :func:`~flask.Flask.url_defaults` functions
come in. They can automatically inject values into a call for
:func:`~flask.url_for` automatically. The code below checks if the
come in. They can automatically inject values into a call to
:func:`~flask.url_for`. The code below checks if the
language code is not yet in the dictionary of URL values and if the
endpoint wants a value named ``'lang_code'``::