]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Add new methods to docs, found by sphinx coverage extension.
authorBen Darnell <ben@bendarnell.com>
Fri, 15 Mar 2013 03:07:58 +0000 (23:07 -0400)
committerBen Darnell <ben@bendarnell.com>
Fri, 15 Mar 2013 03:07:58 +0000 (23:07 -0400)
docs/gen.rst
docs/ioloop.rst
docs/testing.rst
tornado/testing.py

index c447c0894d9b27e104c218631cbfd0696b92bcb4..28d3c8a6baf320226282ec8f9b02b9081d49e04b 100644 (file)
@@ -3,8 +3,10 @@
 
 .. automodule:: tornado.gen
 
-   Decorator
-   ---------
+   Decorators
+   ----------
+
+   .. autofunction:: coroutine
 
    .. autofunction:: engine
 
index ec64dae811eacbbc17f9c6e948b10aa9ca56c85b..171ff38becaf0ff7e874e220d14b2099eceeca10 100644 (file)
@@ -16,6 +16,7 @@
    .. automethod:: IOLoop.install
    .. automethod:: IOLoop.start
    .. automethod:: IOLoop.stop
+   .. automethod:: IOLoop.run_sync
    .. automethod:: IOLoop.close
 
    I/O events
index 24f5c926eee51390e0d0103686ae980a1c44d7ed..b5fa753815af6bcf0894732e56e3fd6bab0e75a5 100644 (file)
@@ -15,6 +15,8 @@
    .. autoclass:: AsyncHTTPSTestCase
       :members:
 
+   .. autofunction:: gen_test
+
    Controlling log output
    ----------------------
 
index a3b448ec2da34a218cd7139db054ad6d902e553d..37b75ea93a3c24ad18b2cde449158c97d07d20f2 100644 (file)
@@ -371,6 +371,7 @@ def gen_test(f):
     on subclasses of `AsyncTestCase`.
 
     Example::
+
         class MyTest(AsyncHTTPTestCase):
             @gen_test
             def test_something(self):