Skip to content

Commit 15c937b

Browse files
committed
Remove ctx.bind() from doc. It doesn't exist.
1 parent 0171177 commit 15c937b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

flask/app.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -928,15 +928,6 @@ def request_context(self, environ):
928928
finally:
929929
ctx.pop()
930930
931-
The big advantage of this approach is that you can use it without
932-
the try/finally statement in a shell for interactive testing:
933-
934-
>>> ctx = app.test_request_context()
935-
>>> ctx.bind()
936-
>>> request.path
937-
u'/'
938-
>>> ctx.unbind()
939-
940931
.. versionchanged:: 0.3
941932
Added support for non-with statement usage and `with` statement
942933
is now passed the ctx object.

0 commit comments

Comments
 (0)