From 15c937b316b16b12df2375c706bcc93e3d37d33e Mon Sep 17 00:00:00 2001 From: Ron DuPlain Date: Sun, 1 May 2011 16:36:51 -0400 Subject: [PATCH] Remove ctx.bind() from doc. It doesn't exist. --- flask/app.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/flask/app.py b/flask/app.py index 20fa42d9..1e068e41 100644 --- a/flask/app.py +++ b/flask/app.py @@ -928,15 +928,6 @@ class Flask(_PackageBoundObject): finally: ctx.pop() - The big advantage of this approach is that you can use it without - the try/finally statement in a shell for interactive testing: - - >>> ctx = app.test_request_context() - >>> ctx.bind() - >>> request.path - u'/' - >>> ctx.unbind() - .. versionchanged:: 0.3 Added support for non-with statement usage and `with` statement is now passed the ctx object.