Skip to content
Myr

Merge pull request #1332 from mypetyak/docs/teardown_request_docstring

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

Fixed minor docstring typo for teardown_request()

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parents 495704e, d60e134 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/app.py+1 added-1 removed
1299 unmodified lines
13001301 .. admonition:: Debug Note13021303 In debug mode Flask will not tear down a request on an exception1304 immediately. Instead if will keep it alive so that the interactive1304 immediately. Instead it will keep it alive so that the interactive1305 debugger can still access it. This behavior can be controlled1306 by the ``PRESERVE_CONTEXT_ON_EXCEPTION`` configuration variable.1307 """1308 self.teardown_request_funcs.setdefault(None, []).append(f)
601 unmodified lines