Commit 7898a402 authored by Jacek Furmankiewicz's avatar Jacek Furmankiewicz

doc updates

parent 11a5f1ee
...@@ -149,7 +149,7 @@ If you want a deferred async method, just complete the request yourself, instead ...@@ -149,7 +149,7 @@ If you want a deferred async method, just complete the request yourself, instead
@route("/",Http.GET) @route("/",Http.GET)
@defer.inlineCallbacks @defer.inlineCallbacks
def root(request,**kwargs): def root(self,request,**kwargs):
val = yield db.query("SELECT ....") val = yield db.query("SELECT ....")
request.write(val) request.write(val)
request.finish() request.finish()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment