Skip to content
Myr

Remove ctx.bind() from doc. It doesn't exist.

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

authored by Ron DuPlain · committed by Ron DuPlain · parent 0171177 · Browse files · 1 file+0 added−9 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+0 added−9 removed

  • other:+0 added−9 removed

1 file+0 added−9 removed

modified:flask/app.py-9 removed
926 unmodified lines
927 do_something_with(request)928 finally:929 ctx.pop()930931 The big advantage of this approach is that you can use it without932 the try/finally statement in a shell for interactive testing:933934 >>> ctx = app.test_request_context()935 >>> ctx.bind()936 >>> request.path937 u'/'938 >>> ctx.unbind()939931 .. versionchanged:: 0.3932 Added support for non-with statement usage and `with` statement933 is now passed the ctx object.934
74 unmodified lines