]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Document the AsyncIOLoop.asyncio_loop attribute for public use.
authorBen Darnell <ben@bendarnell.com>
Mon, 19 Jan 2015 15:20:33 +0000 (10:20 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 19 Jan 2015 15:20:33 +0000 (10:20 -0500)
docs/asyncio.rst

index 06dc44c32759ea904fe02d0005111ab49a256891..e7c2c8fd9f29d5ec0b4ffb2c18c03aa658ad48e1 100644 (file)
@@ -42,3 +42,6 @@ loops.
         from tornado.ioloop import IOLoop
         IOLoop.configure('tornado.platform.asyncio.AsyncIOLoop')
         IOLoop.instance().start()
+
+    Each ``AsyncIOLoop`` creates a new ``asyncio.EventLoop``; this object
+    can be accessed with the ``asyncio_loop`` attribute.