From 28ffe153490c2a58919835bf0f9828958795871f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csirmaz=20Bendeg=C3=BAz?= Date: Tue, 30 Jul 2019 14:45:06 +0200 Subject: [PATCH] Fix typo in urlprocessors.rst --- docs/patterns/urlprocessors.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/patterns/urlprocessors.rst b/docs/patterns/urlprocessors.rst index 3f65d758..0d743205 100644 --- a/docs/patterns/urlprocessors.rst +++ b/docs/patterns/urlprocessors.rst @@ -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'``::