Browse files

Fixes readme

  • Loading branch information...
1 parent 8c9ed65 commit a7723c364b7ba7ef2ec98920a7ffe05f138f894c @mher committed May 19, 2012
Showing with 2 additions and 5 deletions.
  1. +2 −5 README.rst
View
7 README.rst
@@ -15,9 +15,7 @@ Launch the server: ::
$ celeryr --blocking
-And call tasks from Tornado RequestHandler:
-
-.. code-block:: python
+And call tasks from Tornado RequestHandler: ::
from tornado import gen, web
from tcelery import Task
@@ -31,9 +29,8 @@ And call tasks from Tornado RequestHandler:
self.write("Done!")
self.finish()
-Or by using generator-based interface:
+Or by using generator-based interface: ::
-.. code-block:: python
class GenMultipleAsyncHandler(web.RequestHandler):
@web.asynchronous
@gen.engine

0 comments on commit a7723c3

Please sign in to comment.