Skip to content
Myr

fix typo in request context docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kristin Faner · committed by David Lord · parent 7fdd0df · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/reqcontext.rst+2 added-2 removed
168 unmodified lines
169will not fail.170171During testing, it can be useful to defer popping the contexts after the172request ends, so that their data can be accessed in the test function.173Using the :meth:`~Flask.test_client` as a ``with`` block to preserve the174contexts until the with block exits.173Use the :meth:`~Flask.test_client` as a ``with`` block to preserve the174contexts until the ``with`` block exits.175176.. code-block:: python177178 from flask import Flask, request
88 unmodified lines