Skip to content
Myr

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

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

fix typo in request context docs

authored by David Lord · committed by GitHub · parents 7fdd0df, af970bd · 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