Merge pull request #3381 from seeksort/request-context-typo

fix typo in request context docs
This commit is contained in:
David Lord 2019-10-08 09:11:18 -07:00 committed by GitHub
commit cdc0db7b34

View file

@ -170,8 +170,8 @@ will not fail.
During testing, it can be useful to defer popping the contexts after the
request ends, so that their data can be accessed in the test function.
Using the :meth:`~Flask.test_client` as a ``with`` block to preserve the
contexts until the with block exits.
Use the :meth:`~Flask.test_client` as a ``with`` block to preserve the
contexts until the ``with`` block exits.
.. code-block:: python